real_json
v1.0.2
Published
Parse json to real object
Downloads
2
Readme
Real JSON
When transmission between the browser and the server JSON data, the unthinkable happened, JSON.parse () method does not actually text data parsing JSON format directly into the object, you may need to repeatedly execute JSON.parse () the method of the job, but this may result in sending data from other devices may be correct format, without repeatedly parsing, eventually causing the program to fail.
I used a simple method, while circulating the JSON format repeatedly explained, until the data is far object format.
And I add two method text() and plain(), they are the alias of stringify, because the 'stringify' name is not remeber.