接口 JsonParser
public interface JsonParser
- 从以下版本开始:
- 1.0.0
- 作者:
- Dave Syer
- 另请参阅:
-
方法概要
-
方法详细资料
-
parseMap
Parse the specified JSON string into a Map.- 参数:
json
- the JSON to parse- 返回:
- the parsed JSON as a map
- 抛出:
JsonParseException
- if the JSON cannot be parsed
-
parseList
Parse the specified JSON string into a List.- 参数:
json
- the JSON to parse- 返回:
- the parsed JSON as a list
- 抛出:
JsonParseException
- if the JSON cannot be parsed
-