0

i want to parse any json in javascript (react more exactly) and put it in a big object (to show it on UI and modify before put it again in json) But i don't know how to exactly do that !

I tried with var data = require("./test.json"); var jsonString = JSON.stringify(data); But after that i don't know how to parse correctly my file,i can't name programaticaly my properties in my array so impossible to parse manually..

I precise i don't know json content so i can't do pre-build object. Thank you for you answers ! :)

Psyycker
  • 317
  • 4
  • 16

0 Answers0