Class JSONScanner

    • Field Detail

      • token

        protected int token
    • Constructor Detail

      • JSONScanner

        public JSONScanner​(com.alibaba.fastjson2.JSONReader reader)
      • JSONScanner

        public JSONScanner​(String str)
      • JSONScanner

        public JSONScanner​(String str,
                           int features)
    • Method Detail

      • getCalendar

        public Calendar getCalendar()
      • scanISO8601DateIfMatch

        public boolean scanISO8601DateIfMatch()
      • scanISO8601DateIfMatch

        public boolean scanISO8601DateIfMatch​(boolean strict)
      • getReader

        public com.alibaba.fastjson2.JSONReader getReader()
        Specified by:
        getReader in interface JSONLexer
      • isOrderedField

        public boolean isOrderedField()
      • token

        public int token()
      • config

        public void config​(Feature feature,
                           boolean state)
      • isEnabled

        public boolean isEnabled​(Feature feature)
      • nextToken

        public final void nextToken()
        Specified by:
        nextToken in interface JSONLexer
      • nextToken

        public final void nextToken​(int expect)
        Specified by:
        nextToken in interface JSONLexer
      • isEOF

        public boolean isEOF()
        Specified by:
        isEOF in interface JSONLexer