std :: serial::json
Function std::json_parse
struct Value json_parse(const &char text, ?&int ok)Parses a JSON document. On success, '*ok' (if non-NULL) is set to 1 and the parsed tree is returned; on failure, '*ok' is set to 0 and the return value is Value::null(). Ignores trailing content after the first complete value (matches most JSON libraries' default leniency).