package com.itranswarp.jsonstream;

import java.util.Map;

public interface ObjectTypeFinder {

    /**
     * Find a subclass for specified class. Must return a subclass or class itself.
     * 
     * @param clazz The expected type of object.
     * @param jsonObject The parsed JSON object as map.
     * @return Subclass or class itself.
     */
    Class<?> find(Class<?> clazz, Map<String, Object> jsonObject);
}

@@ -52,16 +52,162 @@
 l.Map;%0A%0A
+/**%0A * Return a subclass by detect subclass type from the parsed JSON map %0A * when instantiate an abstract class.%0A * %0A * @author Michael Liao%0A */%0A
 public i

add comments