Package com.dslplatform.json
Class ObjectConverter
java.lang.Object
com.dslplatform.json.ObjectConverter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final JsonReader.ReadObject<LinkedHashMap> private static final JsonReader.ReadObject<Map<String, Object>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserializeList(JsonReader reader) static LinkedHashMap<String, Object> deserializeMap(JsonReader reader) deserializeMapCollection(JsonReader reader) static voiddeserializeMapCollection(JsonReader reader, Collection<Map<String, Object>> res) static voiddeserializeNullableMapCollection(JsonReader reader, Collection<Map<String, Object>> res) static ObjectdeserializeObject(JsonReader reader) (package private) static <T> voidregisterDefault(DslJson<T> json) static voidserializeMap(Map<String, Object> value, JsonWriter sw) static voidserializeNullableMap(Map<String, Object> value, JsonWriter sw) static voidserializeObject(Object value, JsonWriter sw)
-
Field Details
-
TYPED_MAP_READER
-
MAP_READER
-
-
Constructor Details
-
ObjectConverter
public ObjectConverter()
-
-
Method Details
-
registerDefault
-
serializeNullableMap
-
serializeMap
-
serializeObject
- Throws:
IOException
-
deserializeObject
- Throws:
IOException
-
deserializeList
- Throws:
IOException
-
deserializeMap
- Throws:
IOException
-
deserializeMapCollection
public static ArrayList<Map<String,Object>> deserializeMapCollection(JsonReader reader) throws IOException - Throws:
IOException
-
deserializeMapCollection
public static void deserializeMapCollection(JsonReader reader, Collection<Map<String, Object>> res) throws IOException- Throws:
IOException
-
deserializeNullableMapCollection
public static ArrayList<Map<String,Object>> deserializeNullableMapCollection(JsonReader reader) throws IOException - Throws:
IOException
-
deserializeNullableMapCollection
public static void deserializeNullableMapCollection(JsonReader reader, Collection<Map<String, Object>> res) throws IOException- Throws:
IOException
-