v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
JSON Class Reference

#include <v8.h>

Static Public Member Functions

static Local< ValueParse (Local< String > json_string)
 

Detailed Description

A JSON Parser.

Definition at line 1388 of file v8.h.

Member Function Documentation

Local< Value > Parse ( Local< String json_string)
static

Tries to parse the string |json_string| and returns it as value if successful.

Parameters
json_stringThe string to parse.
Returns
The corresponding value if successfully parsed.

Definition at line 2310 of file api.cc.

References HandleScope::CloseAndEscape(), ENTER_V8, EXCEPTION_BAILOUT_CHECK, EXCEPTION_PREAMBLE, v8::internal::FlattenGetString(), Handle< T >::is_null(), Utils::OpenHandle(), and Utils::ToLocal().

Referenced by THREADED_TEST().


The documentation for this class was generated from the following files: