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

Public Member Functions | |
| STParsedJSONObject (std::string const &name, Json::Value const &json) | |
| Parses and creates an STParsedJSON object.   | |
| STParsedJSONObject ()=delete | |
| STParsedJSONObject (STParsedJSONObject const &)=delete | |
| STParsedJSONObject & | operator= (STParsedJSONObject const &)=delete | 
| ~STParsedJSONObject ()=default | |
Public Attributes | |
| std::optional< STObject > | object | 
| The STObject 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 object.
This does validation and checking on the provided JSON.
Definition at line 32 of file STParsedJSON.h.
| ripple::STParsedJSONObject::STParsedJSONObject | ( | std::string const & | name, | 
| Json::Value const & | json | ||
| ) | 
Parses and creates an STParsedJSON object.
The result of the parsing is stored in object 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 1204 of file STParsedJSON.cpp.
      
  | 
  delete | 
      
  | 
  delete | 
      
  | 
  default | 
      
  | 
  delete | 
| std::optional<STObject> ripple::STParsedJSONObject::object | 
The STObject if the parse was successful.
Definition at line 51 of file STParsedJSON.h.
| Json::Value ripple::STParsedJSONObject::error | 
On failure, an appropriate set of error values.
Definition at line 54 of file STParsedJSON.h.