View source
class DynamicConsumer
package hijson
implements Consumer<Any, Array<Any>, DynamicAccess<Any>>
Dynamic consumer copies the behaviour of haxe.format.JsonParser
except that the result type is Any
, rather than Dynamic
.
JSON objects are parsed into Haxe anonymous structures
and JSON arrays are parsed into Array<Any>
instances.
There's only a single instance of DynamicConsumer,
accessible via DynamicConsumer.instance
.