JSON.parse

Parses a JSON string into a JavaScript value or object. This version throws an exception if parsing fails.

The parsing operation checks for invalid characters and executable code in the JSON string and throws an exception if either the pre-parsing or actual eval of the JSON string fails.

o.JSON.parse(text)                                                          

Parameters

text
JSON string that is to be parsed.


See also:

Class JSON


  Last Updated: 1/7/2008 | © West Wind Technologies, 2008