Jpp
18.0.1-rc.2
the software that should make you happy
|
Auxiliary data structure to print (part of) JSon data. More...
#include <JPrinter.hh>
Public Member Functions | |
JPrinter () | |
Defaut constructor. More... | |
std::ostream & | operator() (std::ostream &out, const JSON::json &js, const std::string &key) const |
Auxiliary method to print (part of) JSon data. More... | |
Public Attributes | |
char | SEPARATOR [2] = { '.', '+' } |
int | WIDTH = 2 |
Auxiliary data structure to print (part of) JSon data.
The key can be used to specify which part of the JSon data to print.
For example:
"Error.Code+Message"
will print both the error code and message of some specific JSon data.
Definition at line 29 of file JPrinter.hh.
|
inline |
|
inline |
Auxiliary method to print (part of) JSon data.
out | output stream |
js | JSon data |
key | key |
Definition at line 48 of file JPrinter.hh.
char JSON::JPrinter::SEPARATOR[2] = { '.', '+' } |
Definition at line 31 of file JPrinter.hh.
int JSON::JPrinter::WIDTH = 2 |
Definition at line 32 of file JPrinter.hh.