Yahoo! UI Library

json  3.0.0pr1

Yahoo! UI Library > json

Module: json

The JSON Utility provides methods to serialize JavaScript objects into JSON strings and parse JavaScript objects from strings containing JSON data. Three modules are available for inclusion:
  1. 1. json-parse for parsing JSON strings into native JavaScript data
  2. 2. json-stringify for stringification of JavaScript objects into JSON strings
  3. 3. json for both parsing and stringification
Both json-parse and json-stringify create functions in a static JSON class under your YUI instance (e.g. Y.JSON.parse(..)).

Search json:



Provides Y.JSON.parse method to take JSON strings and return native JavaScript objects.
Provides Y.JSON.stringify method for converting objects to JSON strings.

Copyright © 2008 Yahoo! Inc. All rights reserved.