org.codehaus.jackson.map.ser.impl.UnwrappingBeanPropertyWriter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jackson-mapper-asl Show documentation
Show all versions of jackson-mapper-asl Show documentation
Data Mapper package is a high-performance data binding package
built on Jackson JSON processor
The newest version!
package org.codehaus.jackson.map.ser.impl;
import org.codehaus.jackson.JsonGenerator;
import org.codehaus.jackson.map.JsonMappingException;
import org.codehaus.jackson.map.JsonSerializer;
import org.codehaus.jackson.map.SerializerProvider;
import org.codehaus.jackson.map.ser.*;
import org.codehaus.jackson.type.JavaType;
/**
* Variant of {@link BeanPropertyWriter} which will handle unwrapping
* of JSON Object (including of properties of Object within surrounding
* JSON object, and not as sub-object).
*
* @since 1.9
*/
public class UnwrappingBeanPropertyWriter
extends BeanPropertyWriter
{
public UnwrappingBeanPropertyWriter(BeanPropertyWriter base) {
super(base);
}
public UnwrappingBeanPropertyWriter(BeanPropertyWriter base, JsonSerializer