code: public static Object toBean( JSONObject jsonObject, Class beanClass ) {
        JsonConfig jsonConfig = new JsonConfig();
        jsonConfig.setRootClass( beanClass );
        return toBean( jsonObject, jsonConfig );
     }
docs: Creates a bean from a JSONObject, with a specific target class.<br>