| Index: include/v8.h
|
| diff --git a/include/v8.h b/include/v8.h
|
| index 3eb4794f5c6333edfabb82c9f498b3478f6b8eb6..19af7f90b8e91456c5f4d2d85bbf76b301a50c36 100644
|
| --- a/include/v8.h
|
| +++ b/include/v8.h
|
| @@ -1254,6 +1254,22 @@ class V8EXPORT StackFrame {
|
| };
|
|
|
|
|
| +/**
|
| + * A JSON Parser.
|
| + */
|
| +class V8EXPORT JSON {
|
| + public:
|
| + /**
|
| + * Tries to parse the string |json_string| and returns it as object if
|
| + * successful.
|
| + *
|
| + * \param json_string The string to parse.
|
| + * \return The corresponding object if successfully parsed.
|
| + */
|
| + static Local<Object> Parse(Local<String> json_string);
|
| +};
|
| +
|
| +
|
| // --- Value ---
|
|
|
|
|
|
|