v8
9.4.146 (node 16.13.0)
V8 is Google's open source JavaScript engine
|
#include <v8.h>
Static Public Member Functions | |
static V8_WARN_UNUSED_RESULT MaybeLocal< Value > | Parse (Local< Context > context, Local< String > json_string) |
static V8_WARN_UNUSED_RESULT MaybeLocal< String > | Stringify (Local< Context > context, Local< Value > json_object, Local< String > gap=Local< String >()) |
|
static |
Tries to parse the string |json_string| and returns it as value if successful.
the | context in which to parse and create the value. |
json_string | The string to parse. |
|
static |
Tries to stringify the JSON-serializable object |json_object| and returns it as string if successful.
json_object | The JSON-serializable object to stringify. |