![]() |
Stan
2.10.0
probability, sampling & optimization
|
Classes | |
class | json_data |
A json_data is a var_context object that represents a set of named values which are typed to either double or int and can be either scalar value or a non-empty array of values of any dimensionality. More... | |
class | json_data_handler |
A json_data_handler is an implementation of a json_handler that restricts the allowed JSON text a set of Stan variable declarations in JSON format. More... | |
struct | json_error |
Exception type for JSON errors. More... | |
class | json_handler |
Abstract base class for JSON handlers. More... | |
Functions | |
template<bool Validate_UTF_8, typename Handler > | |
void | parse (std::istream &in, Handler &handler) |
Parse the JSON text represented by the specified input stream, sending events to the specified handler, and optionally validating the UTF-8 encoding. More... | |
template<typename Handler > | |
void | parse (std::istream &in, Handler &handler) |
Parse the JSON text represented by the specified input stream, sending events to the specified handler, and optionally validating the UTF-8 encoding. More... | |
void stan::json::parse | ( | std::istream & | in, |
Handler & | handler | ||
) |
Parse the JSON text represented by the specified input stream, sending events to the specified handler, and optionally validating the UTF-8 encoding.
Validate_UTF_8 | |
Handler |
in | Input stream from which to parse |
handler | Handler for events from parser |
Definition at line 433 of file json_parser.hpp.
void stan::json::parse | ( | std::istream & | in, |
Handler & | handler | ||
) |
Parse the JSON text represented by the specified input stream, sending events to the specified handler, and optionally validating the UTF-8 encoding.
Handler |
in | Input stream from which to parse |
handler | Handler for events from parser |
Definition at line 448 of file json_parser.hpp.