JsonExtractor.GetArray

JSON array getter, invokes a callback delegate with each element in a JSON array.

Constructors

this
this(Parser json, GetField[] fields_to_reset, IteratorDg iterator_dg, bool skip_null)

Constructor

Members

Aliases

IteratorDg
alias IteratorDg = bool delegate(uint i, Type type, cstring value)

Iteration callback delegate type alias. The delegate must either use an appropriate GetField (or subclass) instance to handle and move the parser to the end of the field or indicate that this field is ignored and unhandled.

Functions

reset_
void reset_()

Called by super.reset() to reset all field given by fields_to_reset.

setField
bool setField(uint i, Type type, cstring name, cstring value)

Invokes the iteration callback delegate.

Meta