public class ProcessaJSon extends Object
| Constructor and Description |
|---|
ProcessaJSon() |
| Modifier and Type | Method and Description |
|---|---|
String |
lerArquivoJson(String arquivo) |
String |
lerArquivoResource(String arquivo) |
<T> String |
toJSON(T obj) |
<T> T |
toOBJ(Reader reader,
T obj) |
<T> T |
toOBJ(String json,
T obj) |
public <T> String toJSON(T obj)
public <T> T toOBJ(String json, T obj) throws ErroException
ErroExceptionpublic <T> T toOBJ(Reader reader, T obj) throws ErroException
ErroExceptionpublic String lerArquivoJson(String arquivo) throws ErroException, IOException
ErroExceptionIOExceptionpublic String lerArquivoResource(String arquivo) throws IOException
IOExceptionCopyright © 2018. All rights reserved.