| Package | Description |
|---|---|
| com.alibaba.fastjson2.introspect |
Provides reflection-based property access functionality for fastjson2.
|
| com.alibaba.fastjson2.writer |
| Modifier and Type | Field and Description |
|---|---|
private ToCharFunction<T> |
PropertyAccessorFactory.FunctionAccessorCharValue.getterFunc |
| Modifier and Type | Method and Description |
|---|---|
ToCharFunction<java.lang.Object> |
PropertyAccessorFactoryLambda.getChar(java.lang.reflect.Method method)
Creates a ToCharFunction functional interface to access a char property via the given getter method.
|
| Modifier and Type | Method and Description |
|---|---|
<T> PropertyAccessor |
PropertyAccessorFactory.create(java.lang.String name,
ToCharFunction<T> getterFunc,
ObjCharConsumer<T> setterFunc)
Creates a property accessor using functional interfaces for char property access.
|
| Constructor and Description |
|---|
FunctionAccessorCharValue(java.lang.String name,
ToCharFunction<T> getterFunc,
ObjCharConsumer<T> setterFunc) |
| Modifier and Type | Method and Description |
|---|---|
<T> FieldWriter |
ObjectWriterCreator.createFieldWriter(java.lang.String fieldName,
ToCharFunction<T> function)
Creates a FieldWriter for the specified function that returns a char value.
|
static <T> FieldWriter |
ObjectWriters.fieldWriter(java.lang.String fieldName,
ToCharFunction<T> function) |