GetObject.this

Constructor, specifies getters for named and unnamed fields.

If the i-th object field is not named and the i-th instance element in get_indexed_fields is not null, it will be invoked with that field.

  1. this(Parser json, GetField[cstring] get_named_fields, GetField[] get_indexed_fields)
  2. this(Parser json, bool skip_null, GetField[cstring] get_named_fields, GetField[] get_indexed_fields)

Parameters

json Parser

JSON parser

get_named_fields GetField[cstring]

list of getters for named fields, associated with field names

get_indexed_fields GetField[]

list of getters for fields without name, may contain null elements to ignore fields.

Meta