com.fasterxml.jackson.core.io

Class JsonEOFException

  • 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:
    Serialized Form
    • Field Detail

      • _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)
    • Method Detail

      • getTokenBeingDecoded

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

Copyright © 2008–2017 FasterXML. All rights reserved.