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