|
0
|
1 |
The JSON Utility |
|
|
2 |
Provides static methods to serialize objects to JSON strings and deserialize objects from JSON strings. |
|
|
3 |
|
|
|
4 |
Three modules are available: |
|
|
5 |
json - Both parse and stringify functionality |
|
|
6 |
json-parse - Parse valid JSON strings into JavaScript objects |
|
|
7 |
json-stringify - Serialize JavaScipt objects into valid JSON strings |
|
|
8 |
|
|
|
9 |
3.0.0 beta1 |
|
|
10 |
* Leverages native JSON.parse if available |
|
|
11 |
* Stringify API change. Third argument changed from depth control to indent |
|
|
12 |
(Per the ECMA 5 spec) |
|
|
13 |
* Stringify now throws an Error if the object has cyclical references |
|
|
14 |
(Per the ECMA 5 spec) |
|
|
15 |
* restructured stringify to leverage Y.Lang.type |
|
|
16 |
|
|
|
17 |
3.0.0pr2 |
|
|
18 |
No changes |
|
|
19 |
|
|
|
20 |
3.0.0pr1 |
|
|
21 |
Initial release |