Estoy tratando de analizar este JSON simple, pero me da un error:
let myjson = "{rahul: 'kumar', parul: 'sinha'}" let result = JSON.parse(myjson) console.log(result)pero me esta dando este error:
Uncaught SyntaxError: Unexpected token r in JSON at position 1 at JSON.parse