rippled
|
Holds the serialized result of parsing an input JSON array. More...
Public Member Functions | |
STParsedJSONArray (std::string const &name, Json::Value const &json) | |
Parses and creates an STParsedJSON array. More... | |
STParsedJSONArray ()=delete | |
STParsedJSONArray (STParsedJSONArray const &)=delete | |
STParsedJSONArray & | operator= (STParsedJSONArray const &)=delete |
~STParsedJSONArray ()=default | |
Public Attributes | |
std::optional< STArray > | array |
The STArray if the parse was successful. More... | |
Json::Value | error |
On failure, an appropriate set of error values. More... | |
Holds the serialized result of parsing an input JSON array.
This does validation and checking on the provided JSON.
Definition at line 59 of file STParsedJSON.h.
ripple::STParsedJSONArray::STParsedJSONArray | ( | std::string const & | name, |
Json::Value const & | json | ||
) |
Parses and creates an STParsedJSON array.
The result of the parsing is stored in array and error. Exceptions: Does not throw.
name | The name of the JSON field, used in diagnostics. |
json | The JSON-RPC to parse. |
Definition at line 972 of file STParsedJSON.cpp.
|
delete |
|
delete |
|
default |
|
delete |
std::optional<STArray> ripple::STParsedJSONArray::array |
The STArray if the parse was successful.
Definition at line 78 of file STParsedJSON.h.
Json::Value ripple::STParsedJSONArray::error |
On failure, an appropriate set of error values.
Definition at line 81 of file STParsedJSON.h.