BasicJsonParser

Really basic JSON parser for when you have nothing else available. Comes with some limitations with respect to the JSON specification (e.g. only supports String values), so users will probably prefer to have a library handle things instead (Jackson or Snake YAML are supported).

Author

Dave Syer

Jean de Klerk

Stephane Nicoll

Since

1.2.0

See also

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun parseList(json: String): List<Any>
Parse the specified JSON string into a List.
Link copied to clipboard
open fun parseMap(json: String): Map<String, Any>
Parse the specified JSON string into a Map.