|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.splout.db.common.JSONSerDe
public class JSONSerDe
Helper class for serializing / deserializing from / to JSON using Jackson
| Nested Class Summary | |
|---|---|
static class |
JSONSerDe.JSONSerDeException
|
| Constructor Summary | |
|---|---|
JSONSerDe()
|
|
| Method Summary | ||
|---|---|---|
static
|
deSer(java.lang.String str,
java.lang.Class<T> clazz)
|
|
static
|
deSer(java.lang.String str,
org.codehaus.jackson.type.TypeReference<T> ref)
|
|
static java.lang.String |
ser(java.lang.Object obj)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JSONSerDe()
| Method Detail |
|---|
public static java.lang.String ser(java.lang.Object obj)
throws JSONSerDe.JSONSerDeException
JSONSerDe.JSONSerDeException
public static <T> T deSer(java.lang.String str,
org.codehaus.jackson.type.TypeReference<T> ref)
throws JSONSerDe.JSONSerDeException
JSONSerDe.JSONSerDeException
public static <T> T deSer(java.lang.String str,
java.lang.Class<T> clazz)
throws JSONSerDe.JSONSerDeException
JSONSerDe.JSONSerDeException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||