All Implemented Interfaces:
Serializable

public class JsonEOFException extends JsonParseException
Specialized JsonParseException that is thrown when end-of-input is reached unexpectedly, either within token being decoded, or during skipping of intervening white-space that is not between root-level tokens (that is, is within JSON Object or JSON Array construct).
Since:
2.8
See Also:
  • Field Details

    • _token

      protected final JsonToken _token
      Type of token that was being decoded, if parser had enough information to recognize type (such as starting double-quote for Strings)
  • Constructor Details

  • Method Details

    • getTokenBeingDecoded

      public JsonToken getTokenBeingDecoded()
      Accessor for possibly available information about token that was being decoded while encountering end of input.
      Returns:
      JsonToken that was being decoded while encountering end-of-input