Json Box
0.6.1
This is a JSON C++ library. It can write and read JSON files with ease and speed.
|
Namespaces | |
Literals | |
Numbers | |
Strings | |
Structural | |
Whitespace | |
Classes | |
class | Array |
class | Convert |
class | Escaper |
class | IndentCanceller |
class | Indenter |
class | JsonParsingError |
class | JsonWritingError |
class | Object |
class | OutputFilter |
class | SolidusEscaper |
class | Value |
Typedefs | |
typedef std::basic_string< int32_t > | String32 |
Functions | |
JSONBOX_EXPORT std::ostream & | operator<< (std::ostream &output, const Array &a) |
JSONBOX_EXPORT std::ostream & | operator<< (std::ostream &output, const Object &o) |
JSONBOX_EXPORT std::ostream & | operator<< (std::ostream &output, const Value &v) |
typedef std::basic_string<int32_t> JsonBox::String32 |
std::ostream & JsonBox::operator<< | ( | std::ostream & | output, |
const Array & | a | ||
) |
Output operator overload for the JSON array. Outputs in standard JSON format. Indents the output and esapes the minimum characters.
output | Output stream in which to write the array's JSON. |
a | Array to output into the stream. |
std::ostream & JsonBox::operator<< | ( | std::ostream & | output, |
const Object & | o | ||
) |
Output operator overload for the JSON object. Outputs in standard JSON format. Indents the output and escapes the minimum characters.
output | Output stream in which to write the object's JSON. |
o | Object to output into the stream. |
std::ostream & JsonBox::operator<< | ( | std::ostream & | output, |
const Value & | v | ||
) |
Output operator overload. Outputs the value as valid JSON. Does not do any indentation.
output | Output stream in which the valid JSON is written. |
v | Value to be output in the stream. |