io.robe.convert.xml.parsers.ParseLong Maven / Gradle / Ivy
The newest version!
package io.robe.convert.xml.parsers;
import com.fasterxml.jackson.core.JsonParser;
import java.io.IOException;
import java.lang.reflect.Field;
public class ParseLong implements IsParser {
@Override
public Object parse(JsonParser parser, Field field) throws IOException {
return new Long(parser.getValueAsLong());
}
}