1 #ifndef JSON_WRITER_H_INCLUDED 2 # define JSON_WRITER_H_INCLUDED 35 void enableYAMLCompatibility();
80 void writeArrayValue(
const Value &value );
81 bool isMultineArray(
const Value &value );
87 void writeCommentBeforeValue(
const Value &root );
88 void writeCommentAfterValueOnSameLine(
const Value &root );
89 bool hasCommentForValue(
const Value &value );
138 void writeArrayValue(
const Value &value );
139 bool isMultineArray(
const Value &value );
145 void writeCommentBeforeValue(
const Value &root );
146 void writeCommentAfterValueOnSameLine(
const Value &root );
147 bool hasCommentForValue(
const Value &value );
174 #endif // JSON_WRITER_H_INCLUDED
std::vector< std::string > ChildValues
std::ostream & operator<<(std::ostream &, const Value &root)
Output using the StyledStreamWriter.
std::string valueToQuotedString(const char *value)
Writes a Value in JSON format in a human friendly way, to a stream rather than to a string...
std::string indentString_
bool yamlCompatiblityEnabled_
Outputs a Value in JSON format without formatting (not human friendly).
std::string valueToString(Int value)
Abstract class for writers.
reco::JetExtendedAssociation::JetExtendedData Value
JSON (JavaScript Object Notation).
std::string indentString_
void writeValue(std::ostream &os, int indentation, int const &value_, ValueFormat format)
std::vector< std::string > ChildValues
Writes a Value in JSON format in a human friendly way.