public <T> T deserialze(DefaultJSONParser parser, Type type, Object fieldName) {
try {
Object value;
final JSONLexer lexer = parser.getLexer();
if (lexer.token() == JSONToken.LITERAL_INT) {
value = lexer.intValue();
lexer.nextToken(JSONToken.COMMA);
T e = (T) ordinalMap.get(value);
if (e == null) {
throw new JSONException("parse enum " + enumClass.getName() + " error, value : " + value);