public abstract class RemotingSerializable extends Object
static Charset
CHARSET_UTF8
RemotingSerializable()
static <T> T
decode(byte[] data, Class<T> classOfT)
byte[]
encode()
static byte[]
encode(Object obj)
fromJson(String json, Class<T> classOfT)
String
toJson()
toJson(boolean prettyFormat)
static String
toJson(Object obj, boolean prettyFormat)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final Charset CHARSET_UTF8
public RemotingSerializable()
public static byte[] encode(Object obj)
public static String toJson(Object obj, boolean prettyFormat)
public static <T> T decode(byte[] data, Class<T> classOfT)
public static <T> T fromJson(String json, Class<T> classOfT)
public byte[] encode()
public String toJson()
public String toJson(boolean prettyFormat)
Copyright © 2012–2016. All rights reserved.