Your JSON.parse
is right, and your console.log
is right, and your JSON is valid.
However, you have erroneously called JSON.stringify
, which is like the reverse of parse
, taking a JavaScript object and producing a string of JSON. You don't want that; you already have a string of JSON. Simply remove it.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…