class JSONImpl
            implements ObjectReader {
        @Override
        public Object readObject(JSONReader jsonReader, Type fieldType, Object fieldName, long features) {<FILL_FUNCTION_BODY>}

        @Override
        public Object createInstance(Collection collection) {
            return Collections.emptyList();
        }
    }

            if (jsonReader.isObject()) {
                return jsonReader.read(JSONObject.class);
            }
            if (jsonReader.isArray()) {
                return jsonReader.read(JSONArray.class);
            }

            throw new JSONException("read json error");
        
<no_super_class>