hijson

ArrayConsumer

Standard Array consumer. Produces Haxe Array values from JSON arrays, using the Consumer given to its constructor for parsing array elements.

BaseConsumer

A convenient base class for implementing consumers.

BoolConsumer

Standard Bool consumer. Produces Haxe Bool values from JSON boolean.

Consumer

A JSON consumer that takes a parsed JSON value and produces desired Haxe value out of it. A Consumer instance has to be passed to the Parser methods.

DynamicAccessConsumer

haxe.DynamicAccess consumer. Produces Haxe anonymous structures from JSON objects, using the Consumer given to its constructor for parsing object field values.

DynamicConsumer

Dynamic consumer copies the behaviour of haxe.format.JsonParser except that the result type is Any, rather than Dynamic.

FloatConsumer

Standard Float consumer. Produces Haxe Float values from JSON number.

Int64Consumer

Int64 consumer. Produces haxe.Int64 values from JSON number.

IntConsumer

Standard Int consumer. Produces Haxe Int values from JSON number.

IntMapConsumer

haxe.ds.IntMap consumer. Produces IntMap from JSON objects, parsing field names as Int and using the Consumer given to its constructor for parsing field values.

NullConsumer

Nullable value consumer. Produces null from JSON null and delegates other values consumption to a Consumer instance specified in the constructor.

OptionConsumer

haxe.ds.Option consumer. Produces None from JSON null, delegates other values consumption to a Consumer instance specified in the constructor while wrapping the result in Some.

Parser

The actual JSON parser. See Parser.parse method.

StringConsumer

Standard String consumer. Produces Haxe String values from JSON string.

StringMapConsumer

haxe.ds.StringMap consumer. Produces StringMap from JSON objects, using the Consumer given to its constructor for parsing field values.