Class JSONScanner

java.lang.Object
com.alibaba.fastjson.parser.JSONLexerBase
com.alibaba.fastjson.parser.JSONScanner
All Implemented Interfaces:
JSONLexer

public class JSONScanner extends JSONLexerBase
  • Field Details

    • token

      protected int token
  • Constructor Details

    • JSONScanner

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

      public JSONScanner(String str)
    • JSONScanner

      public JSONScanner(String str, int features)
  • Method Details

    • getReader

      public com.alibaba.fastjson2.JSONReader getReader()
    • isOrderedField

      public boolean isOrderedField()
    • stringVal

      public String stringVal()
    • decimalValue

      public BigDecimal decimalValue()
    • token

      public int token()
    • config

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

      public boolean isEnabled(Feature feature)
    • isBlankInput

      public boolean isBlankInput()
    • intValue

      public int intValue()
    • longValue

      public long longValue()
    • nextToken

      public final void nextToken()
    • getCurrent

      public char getCurrent()
    • nextToken

      public final void nextToken(int expect)
    • isEOF

      public boolean isEOF()