dsl_json.java.math.BigIntegerDslJsonConverter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dsl-json-java8 Show documentation
Show all versions of dsl-json-java8 Show documentation
DSL Platform compatible Java JSON library (https://dsl-platform.com)
The newest version!
package dsl_json.java.math;
import com.dslplatform.json.*;
import java.math.BigInteger;
public class BigIntegerDslJsonConverter implements Configuration {
@Override
public void configure(DslJson json) {
json.registerWriter(BigInteger.class, BigIntegerConverter.WRITER);
json.registerReader(BigInteger.class, BigIntegerConverter.READER);
}
}