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.

Static variables

@:value(new DynamicConsumer())staticread onlyinstance:DynamicConsumer = new DynamicConsumer()