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, 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 © 2020 Pivotal Software, Inc.. All rights reserved.