Yahoo! UI Library

json  3.0.0pr2

Yahoo! UI Library > json
Search:
 
Filters

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(..)).

This module contains the following classes:

Submodules:

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

Copyright © 2008 Yahoo! Inc. All rights reserved.