public abstract class ObjectConverter extends Object
| Constructor and Description |
|---|
ObjectConverter() |
| Modifier and Type | Method and Description |
|---|---|
static ArrayList<Object> |
deserializeList(JsonReader reader) |
static LinkedHashMap<String,Object> |
deserializeMap(JsonReader reader) |
static ArrayList<Map<String,Object>> |
deserializeMapCollection(JsonReader reader) |
static void |
deserializeMapCollection(JsonReader reader,
Collection<Map<String,Object>> res) |
static ArrayList<Map<String,Object>> |
deserializeNullableMapCollection(JsonReader reader) |
static void |
deserializeNullableMapCollection(JsonReader reader,
Collection<Map<String,Object>> res) |
static Object |
deserializeObject(JsonReader reader) |
static void |
serializeMap(Map<String,Object> value,
JsonWriter sw) |
static void |
serializeNullableMap(Map<String,Object> value,
JsonWriter sw) |
static void |
serializeObject(Object value,
JsonWriter sw) |
public static void serializeNullableMap(@Nullable Map<String,Object> value, JsonWriter sw)
public static void serializeMap(Map<String,Object> value, JsonWriter sw)
public static void serializeObject(@Nullable Object value, JsonWriter sw) throws IOException
IOException@Nullable public static Object deserializeObject(JsonReader reader) throws IOException
IOExceptionpublic static ArrayList<Object> deserializeList(JsonReader reader) throws IOException
IOExceptionpublic static LinkedHashMap<String,Object> deserializeMap(JsonReader reader) throws IOException
IOExceptionpublic static ArrayList<Map<String,Object>> deserializeMapCollection(JsonReader reader) throws IOException
IOExceptionpublic static void deserializeMapCollection(JsonReader reader, Collection<Map<String,Object>> res) throws IOException
IOExceptionpublic static ArrayList<Map<String,Object>> deserializeNullableMapCollection(JsonReader reader) throws IOException
IOExceptionpublic static void deserializeNullableMapCollection(JsonReader reader, Collection<Map<String,Object>> res) throws IOException
IOExceptionCopyright © 2023. All rights reserved.