JsonExtractor.GetField

JSON field getter, extracts type and value of a field.

Members

Functions

reset
void reset()

Resets type and value.

reset_
void reset_()

To be overridden, called when reset() has finished.

set
void set(Type type, cstring value)

Sets type and value for the field represented by this instance.

set_
void set_()

To be overridden, called when set() has finished.

Variables

type
Type type;

Field type

value
cstring value;

Field value, meaningful only for certain types, especially Type.String and Type.Number. Corresponds to the value returned by JsonParser.value() for this field.

Meta