com.github.ltsopensource.json.deserializer.MapDeserializer Maven / Gradle / Ivy
package com.github.ltsopensource.json.deserializer;
import com.github.ltsopensource.json.JSONException;
import com.github.ltsopensource.json.JSONObject;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
import java.util.*;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
/**
* @author Robert HG ([email protected]) on 12/30/15.
*/
public class MapDeserializer implements Deserializer {
public static final MapDeserializer INSTANCE = new MapDeserializer();
@SuppressWarnings({"unchecked", "rawtypes"})
public T deserialize(Object object, Type type) {
Map