26 #ifndef PYNE_46Z7LQYFI5HZNASIPCWHVX3X5E 27 #define PYNE_46Z7LQYFI5HZNASIPCWHVX3X5E 42 class JSON_API CustomWriter :
public Writer
45 CustomWriter( std::string opencurly =
"{",
46 std::string closecurly =
"}",
47 std::string opensquare =
"[",
48 std::string closesquare =
"]",
49 std::string colon =
":",
50 std::string comma =
",",
51 std::string indent =
" ",
53 virtual ~CustomWriter(){}
56 virtual std::string write(
const Value &root );
59 void writeValue(
const Value &value, std::string &doc,
bool forceSingleLine );
60 bool isMultiline(
const Value &value );
64 std::string document_;
65 std::string indentString_;
66 std::string opencurly_;
67 std::string closecurly_;
68 std::string opensquare_;
69 std::string closesquare_;
JSON (JavaScript Object Notation).
Definition: json-forwards.h:162