public abstract class RemotingSerializable extends Object
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 RemotingSerializable()
public String toJson()
public String toJson(boolean prettyFormat)
public static String toJson(Object obj, boolean prettyFormat)
public static <T> T fromJson(String json, Class<T> classOfT)
public byte[] encode()
public static byte[] encode(Object obj)
public static <T> T decode(byte[] data, Class<T> classOfT)
Copyright © 2018. All rights reserved.