1 #ifndef JSON_WRITER_H_INCLUDED
2 # define JSON_WRITER_H_INCLUDED
35 void enableYAMLCompatibility();
87 void writeCommentBeforeValue(
const Value &
root );
88 void writeCommentAfterValueOnSameLine(
const Value &
root );
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.
Writes a Value in JSON format in a human friendly way, to a stream rather than to a string...
std::string indentString_
bool yamlCompatiblityEnabled_
std::string JSON_API valueToString(Int value)
Outputs a Value in JSON format without formatting (not human friendly).
Abstract class for writers.
reco::JetExtendedAssociation::JetExtendedData Value
std::string indentString_
std::string JSON_API valueToQuotedString(const char *value)
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.
string root
initialization