com.dslplatform.json
Class MapConverter

java.lang.Object
  extended by com.dslplatform.json.MapConverter

public abstract class MapConverter
extends Object


Constructor Summary
MapConverter()
           
 
Method Summary
static Map<String,String> deserialize(JsonReader reader)
           
static ArrayList<Map<String,String>> deserializeCollection(JsonReader reader)
           
static void deserializeCollection(JsonReader reader, Collection<Map<String,String>> res)
           
static ArrayList<Map<String,String>> deserializeNullableCollection(JsonReader reader)
           
static void deserializeNullableCollection(JsonReader reader, Collection<Map<String,String>> res)
           
static void serialize(Map<String,String> value, JsonWriter sw)
           
static void serializeNullable(Map<String,String> value, JsonWriter sw)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapConverter

public MapConverter()
Method Detail

serializeNullable

public static void serializeNullable(@Nullable
                                     Map<String,String> value,
                                     JsonWriter sw)

serialize

public static void serialize(Map<String,String> value,
                             JsonWriter sw)

deserialize

public static Map<String,String> deserialize(JsonReader reader)
                                      throws IOException
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


Copyright © 2019. All rights reserved.