|
rippled
|
Holds the serialized result of parsing an input JSON array. More...
#include <STParsedJSON.h>

Public Member Functions | |
| STParsedJSONArray (std::string const &name, Json::Value const &json) | |
| Parses and creates an STParsedJSON array. | |
| 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. | |
| Json::Value | error |
| On failure, an appropriate set of error values. | |
Holds the serialized result of parsing an input JSON array.
This does validation and checking on the provided JSON.
Definition at line 60 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 1101 of file STParsedJSON.cpp.
|
delete |
|
delete |
|
default |
|
delete |
| std::optional<STArray> ripple::STParsedJSONArray::array |
The STArray if the parse was successful.
Definition at line 79 of file STParsedJSON.h.
| Json::Value ripple::STParsedJSONArray::error |
On failure, an appropriate set of error values.
Definition at line 82 of file STParsedJSON.h.