diff -r 322d0feea350 -r 89ef5ed3c48b src/cm/media/js/lib/yui/yui_3.10.3/api/modules/json.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/cm/media/js/lib/yui/yui_3.10.3/api/modules/json.html Tue Jul 16 14:29:46 2013 +0200 @@ -0,0 +1,1639 @@ + + + + + json - YUI 3 + + + + + + + + +
+
+
+ +

+ +
+
+ API Docs for: 3.10.3 +
+
+
+ +
+ +
+
+
+ Show: + + + + + + + +
+ + +
+
+
+

json Module

+
+ + + User Guide & Examples + + + + + + +
+ Defined in: json/js/parse-shim.js:1 +
+ + + +
+ + + +
+

The JSON module adds support for serializing JavaScript objects into +JSON strings and parsing JavaScript objects from strings in JSON format.

+ +

The JSON namespace is added to your YUI instance including static methods +Y.JSON.parse(..) and Y.JSON.stringify(..).

+ +

The functionality and method signatures follow the ECMAScript 5 +specification. In browsers with native JSON support, the native +implementation is used.

+ +

The json module is a rollup of json-parse and +json-stringify.

+ +

As their names suggest, json-parse adds support for parsing +JSON data (Y.JSON.parse) and json-stringify for serializing +JavaScript data into JSON strings (Y.JSON.stringify). You may choose to +include either of the submodules individually if you don't need the +complementary functionality, or include the rollup for both.

+
+ + + +
+
+ +

This module provides the following classes:

+ + + +
+ +
+ +

This module is a rollup of the following modules:

+ +
    + +
  • + + json-parse + + +
    + Provides Y.JSON.parse method to accept JSON strings and return native +JavaScript objects. +
    +
  • + +
  • + + json-stringify + + +
    + Provides Y.JSON.stringify method for converting objects to JSON strings. +
    +
  • + +
+ +
+
+ +
+
+
+
+
+
+ + + + + + + + + +