1 #ifndef JSON_WRITER_H_INCLUDED
2 #define JSON_WRITER_H_INCLUDED
33 void enableYAMLCompatibility();
84 void writeCommentBeforeValue(
const Value &root);
85 void writeCommentAfterValueOnSameLine(
const Value &root);
141 void writeCommentBeforeValue(
const Value &root);
142 void writeCommentAfterValueOnSameLine(
const Value &root);
168 #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
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.