Closed siddhsuper closed 9 years ago
for such a small file there is no advantage to streaming.
Just read it and then parse the whole thing with JSON.parse(str)
Actually the problem was in the JSON file, and not able to do
JSON.parse(str)
That's why I thought JSONStream will work for me.
Anyways thanks a ton for your immediate reply :+1:
Not able to parse the json file [I am new to javascript]
This is my json file location = './jsons/rep_controller.json': { "apiVersion": "v12", "kind": "SController", "id": "siddhweb-controller", "labels": { "name": "siddhee" } }
Getting the error undefined