shade.com.alibaba.fastjson2.reader.ObjectReaderImplBigInteger Maven / Gradle / Ivy
package com.alibaba.fastjson2.reader;
import com.alibaba.fastjson2.JSONReader;
import java.lang.reflect.Type;
import java.math.BigInteger;
final class ObjectReaderImplBigInteger
extends ObjectReaderPrimitive {
static final ObjectReaderImplBigInteger INSTANCE = new ObjectReaderImplBigInteger();
public ObjectReaderImplBigInteger() {
super(BigInteger.class);
}
@Override
public BigInteger readJSONBObject(JSONReader jsonReader, Type fieldType, Object fieldName, long features) {
return jsonReader.readBigInteger();
}
@Override
public BigInteger readObject(JSONReader jsonReader, Type fieldType, Object fieldName, long features) {
return jsonReader.readBigInteger();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy