Class BasicJsonParser
java.lang.Object
org.springframework.boot.json.AbstractJsonParser
org.springframework.boot.json.BasicJsonParser
- All Implemented Interfaces:
- JsonParser
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).
- Since:
- 1.2.0
- Author:
- Dave Syer, Jean de Klerk, Stephane Nicoll
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class AbstractJsonParserparseList, parseMap, trimParse, tryParse
- 
Constructor Details- 
BasicJsonParserpublic BasicJsonParser()
 
- 
- 
Method Details- 
parseMapDescription copied from interface:JsonParserParse the specified JSON string into a Map.- Parameters:
- json- the JSON to parse
- Returns:
- the parsed JSON as a map
 
- 
parseListDescription copied from interface:JsonParserParse the specified JSON string into a List.- Parameters:
- json- the JSON to parse
- Returns:
- the parsed JSON as a list
 
 
-