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,
com.fasterxml.jackson.core.JsonGenerator g,
Object value) |
protected final BeanPropertyWriter[] _properties
protected final Class<?> _valueType
public BeanWriter(Class<?> type, BeanPropertyWriter[] props)
public void writeValue(JSONWriter context, com.fasterxml.jackson.core.JsonGenerator g, Object value) throws IOException
writeValue in interface ValueWriterIOExceptionpublic Class<?> valueType()
ValueWritervalueType in interface ValueWriterCopyright © 2022 FasterXML. All rights reserved.