Uses of Class
com.fasterxml.jackson.core.exc.StreamReadException
Packages that use StreamReadException
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.Package for some of
JsonProcessingException
subtypes contained by streaming API.Basic data binding (mapping) functionality that
allows for reading JSON content into Java Objects (POJOs)
and JSON Trees (
JsonNode), as well as
writing Java Objects and trees as JSON.-
Uses of StreamReadException in com.fasterxml.jackson.core
Subclasses of StreamReadException in com.fasterxml.jackson.coreModifier and TypeClassDescriptionclassException type for parsing problems, used when non-well-formed content (content that does not conform to JSON syntax as per specification) is encountered. -
Uses of StreamReadException in com.fasterxml.jackson.core.exc
Subclasses of StreamReadException in com.fasterxml.jackson.core.excModifier and TypeClassDescriptionclassException type for read-side problems that are not direct decoding ("parsing") problems (those would be reported asJsonParseExceptions), but rather result from failed attempts to convert specific Java value out of valid but incompatible input value.Methods in com.fasterxml.jackson.core.exc that return StreamReadExceptionModifier and TypeMethodDescriptionabstract StreamReadExceptionStreamReadException.withParser(JsonParser p) Fluent method that may be used to assign originatingJsonParser, to be accessed usinggetProcessor().abstract StreamReadExceptionStreamReadException.withRequestPayload(RequestPayload payload) Fluent method that may be used to assign payload to this exception, to let recipient access it for diagnostics purposes. -
Uses of StreamReadException in com.fasterxml.jackson.core.io
Subclasses of StreamReadException in com.fasterxml.jackson.core.ioModifier and TypeClassDescriptionclassSpecializedJsonParseExceptionthat 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). -
Uses of StreamReadException in com.fasterxml.jackson.databind
Methods in com.fasterxml.jackson.databind that throw StreamReadExceptionModifier and TypeMethodDescriptionprotected voidObjectReader._reportUndetectableSource(Object src) <T> TObjectMapper.readValue(byte[] src, int offset, int len, TypeReference<T> valueTypeRef) <T> T<T> T<T> TObjectMapper.readValue(byte[] src, TypeReference<T> valueTypeRef) <T> T<T> Tfinal <T> TObjectMapper.readValue(JsonParser p, ResolvedType valueType) Method to deserialize JSON content into a Java type, reference to which is passed as argument.<T> TObjectMapper.readValue(JsonParser p, TypeReference<T> valueTypeRef) Method to deserialize JSON content into a Java type, reference to which is passed as argument.<T> TObjectMapper.readValue(JsonParser p, JavaType valueType) Type-safe overloaded method, basically alias forObjectMapper.readValue(JsonParser, Class).<T> TObjectMapper.readValue(JsonParser p, Class<T> valueType) Method to deserialize JSON content into a non-container type (it can be an array type, however): typically a bean, array or a wrapper type (likeBoolean).<T> TObjectMapper.readValue(File src, TypeReference<T> valueTypeRef) Method to deserialize JSON content from given file into given Java type.<T> TMethod to deserialize JSON content from given file into given Java type.<T> TMethod to deserialize JSON content from given file into given Java type.<T> TObjectMapper.readValue(InputStream src, TypeReference<T> valueTypeRef) <T> TObjectMapper.readValue(InputStream src, JavaType valueType) <T> TObjectMapper.readValue(InputStream src, Class<T> valueType) <T> TObjectMapper.readValue(Reader src, TypeReference<T> valueTypeRef) <T> T<T> T<T> TObjectMapper.readValue(URL src, TypeReference<T> valueTypeRef) Same asObjectMapper.readValue(java.net.URL, Class)except that target specified byTypeReference.<T> TSame asObjectMapper.readValue(java.net.URL, Class)except that target specified byJavaType.<T> TMethod to deserialize JSON content from given resource into given Java type.