1.0.2 • Published 10 years ago

real_json v1.0.2

Weekly downloads
1
License
ISC
Repository
-
Last release
10 years ago

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.

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago