public class GsonSerializer
extends java.lang.Object
implements org.ic4j.candid.ObjectSerializer
| Constructor and Description |
|---|
GsonSerializer() |
| Modifier and Type | Method and Description |
|---|---|
static GsonSerializer |
create() |
static GsonSerializer |
create(org.ic4j.candid.parser.IDLType idlType) |
static org.ic4j.candid.parser.IDLType |
getIDLType(java.lang.Class valueClass) |
org.ic4j.candid.parser.IDLValue |
serialize(java.lang.Object value) |
void |
setIDLType(org.ic4j.candid.parser.IDLType idlType) |
public static GsonSerializer create(org.ic4j.candid.parser.IDLType idlType)
public static GsonSerializer create()
public void setIDLType(org.ic4j.candid.parser.IDLType idlType)
setIDLType in interface org.ic4j.candid.ObjectSerializerpublic org.ic4j.candid.parser.IDLValue serialize(java.lang.Object value)
serialize in interface org.ic4j.candid.ObjectSerializerpublic static org.ic4j.candid.parser.IDLType getIDLType(java.lang.Class valueClass)