public class GsonUtil extends Object
| Constructor and Description |
|---|
GsonUtil() |
| Modifier and Type | Method and Description |
|---|---|
static com.google.gson.Gson |
getGson() |
static com.google.gson.JsonParser |
getParser() |
static com.google.gson.JsonObject |
parseJSONfromBytes(byte[] bytes) |
static byte[] |
serializeToJSONBytes(Object serializableObject,
Type type) |
public static com.google.gson.JsonObject parseJSONfromBytes(byte[] bytes)
public static byte[] serializeToJSONBytes(Object serializableObject, Type type)
public static com.google.gson.Gson getGson()
public static com.google.gson.JsonParser getParser()
Copyright © 2016. All rights reserved.