public abstract class RemotingSerializable extends Object
Constructor and Description |
---|
RemotingSerializable() |
Modifier and Type | Method and Description |
---|---|
static <T> T |
decode(byte[] data,
Class<T> classOfT) |
byte[] |
encode() |
static byte[] |
encode(Object obj) |
static <T> T |
fromJson(String json,
Class<T> classOfT) |
String |
toJson() |
String |
toJson(boolean prettyFormat) |
static String |
toJson(Object obj,
boolean prettyFormat) |
Copyright © 2014. All Rights Reserved.