public interface Json
Modifier and Type | Method and Description |
---|---|
<T> T |
fromJson(InputStream json,
Class<T> classOfT)
Deserialize the object from json.
|
<T> T |
fromJson(InputStream json,
Type type)
Deserialize the generic object from json.
|
<T> T |
fromJson(String json,
Class<T> classOfT)
Deserialize the object from json.
|
<T> T |
fromJson(String json,
Type type)
Deserialize the generic object from json.
|
String |
toJson(Object src)
Serialize the object into json.
|
String |
toJson(Object src,
Type type)
Serialize the generic object into json.
|
String toJson(Object src)
toJson(Object, Type)
String toJson(Object src, Type type)
toJson(Object, Type)
<T> T fromJson(String json, Type type)
#fromJson(Object, Class)
<T> T fromJson(String json, Class<T> classOfT)
#fromJson(Object, Type)
<T> T fromJson(InputStream json, Type type)
#fromJson(Object, Class)
<T> T fromJson(InputStream json, Class<T> classOfT)
#fromJson(Object, Type)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.