1 #ifndef STAN_IO_JSON_JSON_HANDLER_HPP
2 #define STAN_IO_JSON_JSON_HANDLER_HPP
92 virtual void string(
const std::string& s) { }
99 virtual void key(
const std::string& s) { }
virtual void boolean(bool p)
Handle the boolean literal value of the specified polarity.
virtual void number_double(double x)
Handle a the specified double-precision floating point value.
Probability, optimization and sampling library.
Abstract base class for JSON handlers.
virtual void end_array()
Handle the end of an array.
virtual void null()
Handle the null literal value.
virtual void number_unsigned_long(unsigned long n)
Handle a the specified unsigned long integer value.
virtual void key(const std::string &s)
Handle the specified object key.
virtual void end_text()
Handle the the end of the text.
virtual void string(const std::string &s)
Handle the specified string value.
virtual void start_object()
Handle the start of an object.
virtual void start_array()
Handle the start of an array.
virtual void start_text()
Handle the the start of the text.
virtual void end_object()
Handle the end of an object.
virtual void number_long(long n)
Handle a the specified long integer value.