JacksonJsonParser

Thin wrapper to adapt Jackson 2 ObjectMapper to JsonParser.

Author

Dave Syer

Since

1.0.0

See also

Constructors

Link copied to clipboard
constructor(objectMapper: ObjectMapper)
Creates an instance with the specified ObjectMapper.
constructor()
Creates an instance with a default ObjectMapper that is created lazily.

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.