v8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Member Functions | List of all members
v8::JSON Class Reference

#include <v8.h>

Static Public Member Functions

static V8_DEPRECATE_SOON ("Use maybe version", Local< Value > Parse(Local< String > json_string))
 
static V8_WARN_UNUSED_RESULT
MaybeLocal< Value
Parse (Isolate *isolate, Local< String > json_string)
 

Detailed Description

A JSON Parser.

Member Function Documentation

static V8_WARN_UNUSED_RESULT MaybeLocal<Value> v8::JSON::Parse ( Isolate isolate,
Local< String json_string 
)
static
static v8::JSON::V8_DEPRECATE_SOON ( "Use maybe version"  ,
Local< Value >   ParseLocal< 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.

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