LoveBrains
1.0.0
|
Writes a Value in JSON format in a human friendly way. More...
#include <json.h>
Public Member Functions | |
virtual std::string | write (const Value &root) |
Serialize a Value in JSON format. More... | |
virtual std::string | write (const Value &root) |
Serialize a Value in JSON format. More... | |
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.
The rules for line break and indent are as follow:
If the Value have comments then they are outputed according to their CommentPlacement.
|
virtual |
Serialize a Value in JSON format.
root | Value to serialize. |
Implements Json::Writer.
|
virtual |
Serialize a Value in JSON format.
root | Value to serialize. |
Implements Json::Writer.