public class JsonSerializer extends AbstractDataContractSerializer{
protected Object deserializeObject(String json, ClassType type){
JSONValue value = JSONParser.parse(json);
Constructor constructor = type.findConstructor(new String[0]);
Object result = constructor.newInstance();
deserialize(value, result, type);
return result;
}