W3cubDocs

/Haxe

JsonParser

package haxe.format

Available on all platforms

An implementation of JSON parser in Haxe.

This class is used by haxe.Json when native JSON implementation is not available.

See:

Static methods

static inline parse (str:String):Dynamic

Parses given JSON-encoded str and returns the resulting object.

JSON objects are parsed into anonymous structures and JSON arrays are parsed into Array<Dynamic>.

If given str is not valid JSON, an exception will be thrown.

If str is null, the result is unspecified.

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/haxe/format/JsonParser.html