com.dslplatform.json
Class ObjectConverter

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

public abstract class ObjectConverter
extends Object


Constructor Summary
ObjectConverter()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectConverter

public ObjectConverter()
Method Detail

serializeNullableMap

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

serializeMap

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

serializeObject

public static void serializeObject(Object value,
                                   JsonWriter sw)
                            throws IOException
Throws:
IOException

deserializeObject

public static Object deserializeObject(JsonReader reader)
                                throws IOException
Throws:
IOException

deserializeList

public static ArrayList<Object> deserializeList(JsonReader reader)
                                         throws IOException
Throws:
IOException

deserializeMap

public static LinkedHashMap<String,Object> deserializeMap(JsonReader reader)
                                                   throws IOException
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


Copyright © 2018. All rights reserved.