public class YamlJsonParser extends AbstractJsonParser
Yaml to JsonParser.JsonParserFactory| Constructor and Description |
|---|
YamlJsonParser() |
| 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, tryParsepublic Map<String,Object> parseMap(String json)
JsonParserjson - the JSON to parsepublic List<Object> parseList(String json)
JsonParserjson - the JSON to parseCopyright © 2020 Pivotal Software, Inc.. All rights reserved.