1 #ifndef CPPTL_JSON_READER_H_INCLUDED 2 #define CPPTL_JSON_READER_H_INCLUDED 53 bool parse(
const char *beginDoc,
const char *endDoc,
Value &
root,
bool collectComments =
true);
57 bool parse(std::istream &is,
Value &
root,
bool collectComments =
true);
98 typedef std::deque<ErrorInfo>
Errors;
105 bool readCStyleComment();
106 bool readCppStyleComment();
119 bool recoverFromError(
TokenType skipUntilToken);
121 void skipUntilSpace();
122 Value ¤tValue();
171 #endif // CPPTL_JSON_READER_H_INCLUDED std::stack< Value * > Nodes
vector< string > parse(string line, const string &delimiter)
std::string commentsBefore_
Configuration passed to reader and writer. This configuration object can be used to force the Reader ...
std::deque< ErrorInfo > Errors
std::vector< float > features(const reco::PreId &ecal, const reco::PreId &hcal, double rho, const reco::BeamSpot &spot, noZS::EcalClusterLazyTools &ecalTools)
JSON (JavaScript Object Notation).
std::istream & operator>>(std::istream &, Value &)
Read from 'sin' into 'root'.
Unserialize a JSON document into a Value.