public class JacksonJsonParser extends AbstractJsonParser
ObjectMapper
to JsonParser
.JsonParserFactory
Constructor and Description |
---|
JacksonJsonParser() |
Modifier and Type | Method and Description |
---|---|
List<Object> |
parseList(String json)
Parse the specified JSON string into a List.
|
Map<String,Object> |
parseMap(String json)
Parse the specified JSON string into a Map.
|
parseList, parseMap, trimParse, tryParse
public Map<String,Object> parseMap(String json)
JsonParser
json
- the JSON to parsepublic List<Object> parseList(String json)
JsonParser
json
- the JSON to parseCopyright © 2019 Pivotal Software, Inc.. All rights reserved.