public class GsonHelper extends Object
| Constructor and Description |
|---|
GsonHelper() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
convert(JsonReader jsonReader,
Gson gson) |
static Map<String,Object> |
readJson(JsonReader jsonReader,
Gson gson) |
static void |
writeJson(Map<String,Object> map,
JsonWriter out,
Gson gson) |
public static Map<String,Object> readJson(JsonReader jsonReader, Gson gson) throws IOException
IOExceptionpublic static Object convert(JsonReader jsonReader, Gson gson) throws IOException
IOExceptionpublic static void writeJson(Map<String,Object> map, JsonWriter out, Gson gson) throws IOException
IOException