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 (like {@link java.lang.Boolean}).
Note: method can only be called if the parser has an object codec assigned; this is true for parsers constructed by
MappingJsonFactory
(from "jackson-databind" jar) but not for {@link JsonFactory} (unless its
setCodec
method has been explicitly called).
This method may advance the event stream, for structured types the current token will be the closing end marker (END_ARRAY, END_OBJECT) of the bound structure. For non-structured Json types (and for {@link JsonToken#VALUE_EMBEDDED_OBJECT}) stream is not advanced.
Note: this method should NOT be used if the result type is a container ( {@link java.util.Collection} or {@link java.util.Map}. The reason is that due to type erasure, key and value types can not be introspected when using this method.