22#include <xrpl/json/json_value.h>
39 const Value::ObjectValues::iterator& current)
40 : current_(current), isNull_(false)
112 if (czstring.
c_str())
128 if (!czstring.
c_str())
129 return czstring.
index();
137 const char* name = (*current_).first.
c_str();
138 return name ? name :
"";
150 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).