Package com.dslplatform.json
Class MapConverter
java.lang.Object
com.dslplatform.json.MapConverter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(JsonReader reader) deserializeCollection(JsonReader reader) static voiddeserializeCollection(JsonReader reader, Collection<Map<String, String>> res) static voiddeserializeNullableCollection(JsonReader reader, Collection<Map<String, String>> res) static voidserialize(Map<String, String> value, JsonWriter sw) static voidserializeNullable(Map<String, String> value, JsonWriter sw)
-
Field Details
-
TYPED_MAP_READER
-
-
Constructor Details
-
MapConverter
public MapConverter()
-
-
Method Details
-
serializeNullable
-
serialize
-
deserialize
- Throws:
IOException
-
deserializeCollection
public static ArrayList<Map<String,String>> deserializeCollection(JsonReader reader) throws IOException - Throws:
IOException
-
deserializeCollection
public static void deserializeCollection(JsonReader reader, Collection<Map<String, String>> res) throws IOException- Throws:
IOException
-
deserializeNullableCollection
public static ArrayList<Map<String,String>> deserializeNullableCollection(JsonReader reader) throws IOException - Throws:
IOException
-
deserializeNullableCollection
public static void deserializeNullableCollection(JsonReader reader, Collection<Map<String, String>> res) throws IOException- Throws:
IOException
-