- Since:
- JSON Binding 1.0
- See Also:
- 
Method SummaryModifier and TypeMethodDescription<T> Tdeserialize(Class<T> clazz, JsonParser parser) Deserialize JSON stream into instance of provided class usingJsonParser.<T> Tdeserialize(Type type, JsonParser parser) Deserialize JSON stream into instance of provided class usingJsonParser.
- 
Method Details- 
deserializeDeserialize JSON stream into instance of provided class using JsonParser. JsonParser cursor have to be at KEY_NAME before START_OBJECT / START_ARRAY, or at START_OBJECT / START_ARRAY to call this method. After deserialization is complete JsonParser will be at END_OBJECT / END_ARRAY for deserialized JSON structure.If method is called for the same type, which is deserializer bound to, deserializer recursion is suppressed. Otherwise deserializers are reentrant during deserialization process started by this method. JsonParserinstance of JSONB runtime is shared with custom deserializer.- Type Parameters:
- T- Type of class.
- Parameters:
- clazz- Type to deserialize into. No arg constructor required.
- parser- JSONP parser to drive.
- Returns:
- Deserialized instance.
 
- 
deserializeDeserialize JSON stream into instance of provided class using JsonParser. JsonParser cursor have to be at KEY_NAME before START_OBJECT / START_ARRAY, or at START_OBJECT / START_ARRAY to call this method. After deserialization is complete JsonParser will be at END_OBJECT / END_ARRAY for deserialized JSON structure.If method is called for the same type, which is deserializer bound to, deserializer recursion is suppressed. Otherwise deserializers are reentrant during deserialization process started by this method. JsonParserinstance of JSONB runtime is shared with custom deserializer.- Type Parameters:
- T- Type to deserialize into.
- Parameters:
- type- Type to deserialize into. No arg constructor required.
- parser- JSONP parser to drive.
- Returns:
- Deserialized instance.
 
 
-