Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Writes a Value in JSON format in a human friendly way. More...
#include <jsoncpp.h>
Public Member Functions | |
StyledWriter () | |
virtual | ~StyledWriter () |
virtual std::string | write (const Value &root) override |
Serialize a Value in JSON format. More... | |
Public Member Functions inherited from Json::Writer | |
virtual | ~Writer () |
Writes a Value in JSON format in a human friendly way.
The rules for line break and indent are as follow:
If the Value have comments then they are outputed according to their CommentPlacement.
Json::StyledWriter::StyledWriter | ( | ) |
Definition at line 3661 of file jsoncpp.cpp.
|
inlinevirtual |
|
overridevirtual |
Serialize a Value in JSON format.
root | Value to serialize. |
Implements Json::Writer.
Definition at line 3669 of file jsoncpp.cpp.
Referenced by Json::Value::toStyledString().