AndBase开发框架  1.6
 全部  命名空间 文件 函数 变量 枚举值 
Public 成员函数 | 所有成员列表
com.google.gson.JsonParser类 参考

Public 成员函数

JsonElement parse (String json) throws JsonSyntaxException
 
JsonElement parse (Reader json) throws JsonIOException, JsonSyntaxException
 
JsonElement parse (JsonReader json) throws JsonIOException, JsonSyntaxException
 

详细描述

A parser to parse Json into a parse tree of JsonElements

作者
Inderjeet Singh
Joel Leitch
自从
1.3

成员函数说明

JsonElement com.google.gson.JsonParser.parse ( String  json) throws JsonSyntaxException
inline

Parses the specified JSON string into a parse tree

参数
jsonJSON text
返回
a parse tree of JsonElements corresponding to the specified JSON
异常
JsonParseExceptionif the specified text is not valid JSON
自从
1.3
JsonElement com.google.gson.JsonParser.parse ( Reader  json) throws JsonIOException, JsonSyntaxException
inline

Parses the specified JSON string into a parse tree

参数
jsonJSON text
返回
a parse tree of JsonElements corresponding to the specified JSON
异常
JsonParseExceptionif the specified text is not valid JSON
自从
1.3
JsonElement com.google.gson.JsonParser.parse ( JsonReader  json) throws JsonIOException, JsonSyntaxException
inline

Returns the next value from the JSON stream as a parse tree.

异常
JsonParseExceptionif there is an IOException or if the specified text is not valid JSON
自从
1.6

该类的文档由以下文件生成: