22#include <xrpl/json/json_forwards.h>
23#include <xrpl/json/json_value.h>
40 const Value::ObjectValues::iterator& current)
41 : current_(current), isNull_(false)
113 if (czstring.
c_str())
129 if (!czstring.
c_str())
130 return czstring.
index();
138 const char* name = (*current_).first.
c_str();
139 return name ? name :
"";
151 const Value::ObjectValues::iterator& current)
Lightweight wrapper to tag static string.
const iterator for object and array value.
ValueConstIterator()=default
SelfType & operator=(const ValueIteratorBase &other)
base class for Value iterators.
bool isEqual(const SelfType &other) const
Value key() const
Return either the index or the member name of the referenced value as a Value.
void copy(const SelfType &other)
UInt index() const
Return the index of the referenced Value. -1 if it is not an arrayValue.
const char * memberName() const
Return the member name of the referenced Value.
Value::ObjectValues::iterator current_
difference_type computeDistance(const SelfType &other) const
Iterator for object and array value.
SelfType & operator=(const SelfType &other)
bool isStaticString() const
const char * c_str() const
JSON (JavaScript Object Notation).