A simple representation for the Spanner JSON type: a lightweight, text-based, language-independent data interchange format.
More...
|
| Json () |
| A null value. More...
|
|
| Json (std::string s) |
| Construction from a JSON-formatted string. More...
|
|
|
| Json (Json const &)=default |
| Regular value type, supporting copy, assign, move. More...
|
|
Json & | operator= (Json const &)=default |
| Regular value type, supporting copy, assign, move. More...
|
|
| Json (Json &&)=default |
| Regular value type, supporting copy, assign, move. More...
|
|
Json & | operator= (Json &&)=default |
| Regular value type, supporting copy, assign, move. More...
|
|
|
| operator std::string () const & |
| Conversion to a JSON-formatted string. More...
|
|
| operator std::string () && |
| Conversion to a JSON-formatted string. More...
|
|
A simple representation for the Spanner JSON type: a lightweight, text-based, language-independent data interchange format.
JSON (the JavaScript Object Notation) defines a small set of formatting rules for the portable representation of structured data. See RFC 7159.
A Json
value can be constructed from, and converted to a std::string
. Json
values can be compared (by string) for equality, and streamed.
There is no syntax checking of JSON strings in this interface. The user is expected to only construct Json
values from well-formatted strings.
Definition at line 39 of file json.h.