public class BeanWriter extends Object implements ValueWriter
Modifier and Type | Field and Description |
---|---|
protected BeanPropertyWriter[] |
_properties |
protected Class<?> |
_valueType |
Constructor and Description |
---|
BeanWriter(Class<?> type,
BeanPropertyWriter[] props) |
Modifier and Type | Method and Description |
---|---|
Class<?> |
valueType()
Accessor for non-generic (type-erased) type of values this reader
produces from input.
|
void |
writeValue(JSONWriter context,
JsonGenerator g,
Object value) |
protected final BeanPropertyWriter[] _properties
protected final Class<?> _valueType
public BeanWriter(Class<?> type, BeanPropertyWriter[] props)
public void writeValue(JSONWriter context, JsonGenerator g, Object value) throws IOException
writeValue
in interface ValueWriter
IOException
public Class<?> valueType()
ValueWriter
valueType
in interface ValueWriter
Copyright © 2020 FasterXML. All rights reserved.