hydraql.shaded.fastjson2.reader.FieldReaderInt32Param Maven / Gradle / Ivy
The newest version!
package hydraql.shaded.fastjson2.reader;
import hydraql.shaded.fastjson2.JSONReader;
import hydraql.shaded.fastjson2.schema.JSONSchema;
import java.lang.reflect.Parameter;
final class FieldReaderInt32Param
extends FieldReaderObjectParam {
FieldReaderInt32Param(String fieldName, Class fieldType, String paramName, Parameter parameter, int ordinal, long features, String format, JSONSchema schema) {
super(fieldName, fieldType, fieldType, paramName, parameter, ordinal, features, format, schema);
}
@Override
public Object readFieldValue(JSONReader jsonReader) {
return jsonReader.readInt32();
}
}