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.
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.
|
|
|
|
|
|
|
|