3#include <xrpl/protocol/STArray.h>
std::optional< STObject > object
The STObject if the parse was successful.
json::Value error
On failure, an appropriate set of error values.
STParsedJSONObject(std::string const &name, json::Value const &json)
Parses and creates an STParsedJSON object.
STParsedJSONObject(STParsedJSONObject const &)=delete
STParsedJSONObject()=delete
STParsedJSONObject & operator=(STParsedJSONObject const &)=delete
~STParsedJSONObject()=default
JSON (JavaScript Object Notation).
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
constexpr std::size_t kMaxParsedJsonDepth
Maximum JSON object nesting depth permitted during parsing.
constexpr std::size_t kMaxParsedJsonArraySize
Maximum number of elements permitted in any JSON array field during parsing.