src/cm/media/js/lib/yui/yui3.0.0/releasenotes/README.json
author gibus
Tue, 11 Feb 2014 12:33:25 +0100
changeset 572 93383e54e042
parent 0 40c8f766c9b8
permissions -rw-r--r--
Font size for piwik optout iframe.

The JSON Utility
    Provides static methods to serialize objects to JSON strings and
    deserialize objects from JSON strings.

    Three modules are available:
        json           - Both parse and stringify functionality
        json-parse     - Parse valid JSON strings into JavaScript objects
        json-stringify - Serialize JavaScipt objects into valid JSON strings

3.0.0
    * Leverages native JSON.stringify if available
    * Added Y.JSON.useNativeParse and useNativeStringify properties that can be
      set to false to use the JavaScript implementations.  Use these if your
      use case triggers an edge case bug in one of the native implementations.
      Hopefully these will be unnecessary in a few minor versions of the A
      grade browsers.
    * Added support for toJSON methods on obects being stringified
    * Moved Date stringification before replacer to be in accordance with ES5

3.0.0 beta 1
    * Leverages native JSON.parse if available
    * Stringify API change. Third argument changed from depth control to indent
      (Per the ECMA 5 spec)
    * Stringify now throws an Error if the object has cyclical references
      (Per the ECMA 5 spec)
    * restructured stringify to leverage Y.Lang.type

3.0.0 PR2
    No changes

3.0.0 PR1
    Initial release