public interface IBoxJSONParser
| Modifier and Type | Method and Description |
|---|---|
String |
convertBoxObjectToJSONString(Object object)
Convert the object into String.
|
String |
convertBoxObjectToJSONStringQuietly(Object object)
Convert the object into String.
|
<T> T |
parseIntoBoxObject(InputStream inputStream,
Class<T> theClass)
Convert InputStream to object.
|
<T> T |
parseIntoBoxObject(String jsonString,
Class<T> theClass)
Convert the json string into object.
|
<T> T |
parseIntoBoxObjectQuietly(InputStream inputStream,
Class<T> theClass)
Convert InputStream to object.No exception will be thrown, in case of failure, null is returned.
|
<T> T |
parseIntoBoxObjectQuietly(String jsonString,
Class<T> theClass)
Convert the json string into object.No exception will be thrown, in case of failure, null is returned.
|
String convertBoxObjectToJSONStringQuietly(Object object)
object - <T> T parseIntoBoxObjectQuietly(InputStream inputStream, Class<T> theClass)
inputStream - theClass - <T> T parseIntoBoxObjectQuietly(String jsonString, Class<T> theClass)
jsonString - theClass - String convertBoxObjectToJSONString(Object object) throws BoxJSONException
object - BoxJSONException<T> T parseIntoBoxObject(InputStream inputStream, Class<T> theClass) throws BoxJSONException
inputStream - theClass - BoxJSONException<T> T parseIntoBoxObject(String jsonString, Class<T> theClass) throws BoxJSONException
jsonString - theClass - BoxJSONExceptionCopyright © 2016 Nuxeo SA. All rights reserved.