Uses of Class
tools.jackson.core.exc.InputCoercionException
Packages that use InputCoercionException
Package
Description
Main public API classes of the core streaming JSON
processor: most importantly
JsonFactory
used for constructing
JSON parser (JsonParser)
and generator
(JsonGenerator)
instances.Base classes used by concrete Parser and Generator implementations;
contain functionality that is not specific to JSON or input
abstraction (byte vs char).
Package for subtypes of
JacksonException
defined and used by streaming API.JSON-specific parser and generator implementation classes that
Jackson defines and uses.
Utility classes used by Jackson Core functionality.
-
Uses of InputCoercionException in tools.jackson.core
Methods in tools.jackson.core that throw InputCoercionExceptionModifier and TypeMethodDescriptionabstract BigIntegerJsonParser.getBigIntegerValue()Numeric accessor that can be called when the current token is of typeJsonToken.VALUE_NUMBER_INTand it cannot be used as a Java long primitive type due to its magnitude.abstract booleanJsonParser.getBooleanValue()Convenience accessor that can be called when the current token isJsonToken.VALUE_TRUEorJsonToken.VALUE_FALSE, to return matchingbooleanvalue.abstract byteJsonParser.getByteValue()Numeric accessor that can be called when the current token is of typeJsonToken.VALUE_NUMBER_INTand it can be expressed as a value of Java byte primitive type.abstract BigDecimalJsonParser.getDecimalValue()Numeric accessor that can be called when the current token is of typeJsonToken.VALUE_NUMBER_FLOATorJsonToken.VALUE_NUMBER_INT.abstract doubleJsonParser.getDoubleValue()Numeric accessor that can be called when the current token is of typeJsonToken.VALUE_NUMBER_FLOATand it can be expressed as a Java double primitive type.abstract floatJsonParser.getFloatValue()Numeric accessor that can be called when the current token is of typeJsonToken.VALUE_NUMBER_FLOATand it can be expressed as a Java float primitive type.abstract intJsonParser.getIntValue()Numeric accessor that can be called when the current token is of typeJsonToken.VALUE_NUMBER_INTand it can be expressed as a value of Java int primitive type.abstract longJsonParser.getLongValue()Numeric accessor that can be called when the current token is of typeJsonToken.VALUE_NUMBER_INTand it can be expressed as a Java long primitive type.abstract NumberJsonParser.getNumberValue()Generic number value accessor method that will work for all kinds of numeric values.abstract ObjectJsonParser.getNumberValueDeferred()Method similar toJsonParser.getNumberValue()but that returns either sameNumbervalue asJsonParser.getNumberValue()(if already decoded), orStringrepresentation of as-of-yet undecoded number.abstract NumberJsonParser.getNumberValueExact()Method similar toJsonParser.getNumberValue()with the difference that for floating-point numbers value returned may beBigDecimalif the underlying format does not store floating-point numbers using native representation: for example, textual formats represent numbers as Strings (which are 10-based), and conversion toDoubleis potentially lossy operation.abstract shortJsonParser.getShortValue()Numeric accessor that can be called when the current token is of typeJsonToken.VALUE_NUMBER_INTand it can be expressed as a value of Java short primitive type.doubleJsonParser.getValueAsDouble()Method that will try to convert value of current token to a Java double.doubleJsonParser.getValueAsDouble(double def) Method that will try to convert value of current token to a Java double.intJsonParser.getValueAsInt()Method that will try to convert value of current token to a Javaintvalue.intJsonParser.getValueAsInt(int def) Method that will try to convert value of current token to aint.longJsonParser.getValueAsLong()Method that will try to convert value of current token to along.longJsonParser.getValueAsLong(long def) Method that will try to convert value of current token to along. -
Uses of InputCoercionException in tools.jackson.core.base
Methods in tools.jackson.core.base that return InputCoercionExceptionModifier and TypeMethodDescriptionprotected InputCoercionExceptionParserMinimalBase._constructInputCoercion(String msg, JsonToken inputType, Class<?> targetType) protected InputCoercionExceptionParserMinimalBase._constructNotNumericType(JsonToken actualToken, int expNumericType) Methods in tools.jackson.core.base that throw InputCoercionExceptionModifier and TypeMethodDescriptionprotected abstract voidParserBase._parseNumericValue(int expType) Method that will parse actual numeric value out of a syntactically valid number value.protected voidParserMinimalBase._reportOverflowByte(String numDesc, JsonToken inputType) protected voidParserMinimalBase._reportOverflowInt()Method called to throw an exception for integral (not floating point) input token with value outside of Java signed 32-bit range when requested asint.protected voidParserMinimalBase._reportOverflowInt(String numDesc) protected voidParserMinimalBase._reportOverflowInt(String numDesc, JsonToken inputType) protected voidParserMinimalBase._reportOverflowLong()Method called to throw an exception for integral (not floating point) input token with value outside of Java signed 64-bit range when requested aslong.protected voidParserMinimalBase._reportOverflowLong(String numDesc) protected voidParserMinimalBase._reportOverflowLong(String numDesc, JsonToken inputType) protected voidParserMinimalBase._reportOverflowShort(String numDesc, JsonToken inputType) protected voidParserBase.convertNumberToInt()protected voidParserBase.convertNumberToLong()booleanParserMinimalBase.getBooleanValue()byteParserMinimalBase.getByteValue()ParserMinimalBase.getNumberValueDeferred()ParserMinimalBase.getNumberValueExact()shortParserMinimalBase.getShortValue() -
Uses of InputCoercionException in tools.jackson.core.exc
Methods in tools.jackson.core.exc that return InputCoercionExceptionModifier and TypeMethodDescriptionInputCoercionException.withParser(JsonParser p) Fluent method that may be used to assign originatingJsonParser, to be accessed usingStreamReadException.processor(). -
Uses of InputCoercionException in tools.jackson.core.json
Methods in tools.jackson.core.json that throw InputCoercionException -
Uses of InputCoercionException in tools.jackson.core.util
Methods in tools.jackson.core.util that throw InputCoercionExceptionModifier and TypeMethodDescriptionbooleanJsonParserDelegate.getBooleanValue()byteJsonParserDelegate.getByteValue()JsonParserDelegate.getDecimalValue()doubleJsonParserDelegate.getDoubleValue()floatJsonParserDelegate.getFloatValue()intJsonParserDelegate.getIntValue()longJsonParserDelegate.getLongValue()JsonParserDelegate.getNumberValue()JsonParserDelegate.getNumberValueDeferred()JsonParserDelegate.getNumberValueExact()shortJsonParserDelegate.getShortValue()doubleJsonParserDelegate.getValueAsDouble()doubleJsonParserDelegate.getValueAsDouble(double defaultValue) intJsonParserDelegate.getValueAsInt()intJsonParserDelegate.getValueAsInt(int defaultValue) longJsonParserDelegate.getValueAsLong()longJsonParserDelegate.getValueAsLong(long defaultValue)