#include <v8-json.h>
A JSON Parser and Stringifier.
Definition at line 20 of file v8-json.h.
◆ Parse()
Tries to parse the string |json_string| and returns it as value if successful.
- Parameters
-
the | context in which to parse and create the value. |
json_string | The string to parse. |
- Returns
- The corresponding value if successfully parsed.
Definition at line 3172 of file api.cc.
◆ Stringify()
Tries to stringify the JSON-serializable object |json_object| and returns it as string if successful.
- Parameters
-
json_object | The JSON-serializable object to stringify. |
- Returns
- The corresponding string if successfully stringified.
Definition at line 3188 of file api.cc.
The documentation for this class was generated from the following files: