public static boolean firstIdentifier(char ch) {
        return ch < IOUtils.firstIdentifierFlags.length && IOUtils.firstIdentifierFlags[ch];
    }
All possible chars for representing a number as a String
src/main/java/com/alibaba/fastjson/util/IOUtils.java