20#ifndef RIPPLE_PROTOCOL_STPARSEDJSON_H_INCLUDED
21#define RIPPLE_PROTOCOL_STPARSEDJSON_H_INCLUDED
23#include <xrpl/protocol/STArray.h>
Holds the serialized result of parsing an input JSON array.
std::optional< STArray > array
The STArray if the parse was successful.
STParsedJSONArray & operator=(STParsedJSONArray const &)=delete
Json::Value error
On failure, an appropriate set of error values.
~STParsedJSONArray()=default
STParsedJSONArray(STParsedJSONArray const &)=delete
STParsedJSONArray()=delete
Holds the serialized result of parsing an input JSON object.
std::optional< STObject > object
The STObject if the parse was successful.
Json::Value error
On failure, an appropriate set of error values.
STParsedJSONObject()=delete
~STParsedJSONObject()=default
STParsedJSONObject & operator=(STParsedJSONObject const &)=delete
STParsedJSONObject(STParsedJSONObject const &)=delete
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.