org.inria.myriads.snoozenode.database.api.impl.cassandra.utils
Constructor and Description |
---|
JsonSerializer(Class<?> clazz)
Constructeur.
|
Modifier and Type | Method and Description |
---|---|
Object |
fromByteBuffer(ByteBuffer byteBuffer) |
Object |
fromString(String string)
from String.
|
ByteBuffer |
toByteBuffer(Object obj) |
String |
toString(Object obj)
To String.
|
public JsonSerializer(Class<?> clazz)
clazz
- the class.public ByteBuffer toByteBuffer(Object obj)
public Object fromByteBuffer(ByteBuffer byteBuffer)
public String toString(Object obj)
obj
- object to dump.Copyright © 2013. All Rights Reserved.