Uses of Interface
com.alibaba.fastjson2.function.ToShortFunction
Packages that use ToShortFunction
Package
Description
Provides reflection-based property access functionality for fastjson2.
-
Uses of ToShortFunction in com.alibaba.fastjson2.introspect
Methods in com.alibaba.fastjson2.introspect that return ToShortFunctionModifier and TypeMethodDescriptionCreates a ToShortFunction functional interface to access a short property via the given getter method.Methods in com.alibaba.fastjson2.introspect with parameters of type ToShortFunctionModifier and TypeMethodDescription<T> PropertyAccessorPropertyAccessorFactory.create(String name, ToShortFunction<T> getterFunc, ObjShortConsumer<T> setterFunc) Creates a property accessor using functional interfaces for short property access. -
Uses of ToShortFunction in com.alibaba.fastjson2.writer
Methods in com.alibaba.fastjson2.writer with parameters of type ToShortFunctionModifier and TypeMethodDescription<T> FieldWriterObjectWriterCreator.createFieldWriter(String fieldName, ToShortFunction<T> function) Creates a FieldWriter for the specified function that returns a short value.static <T> FieldWriterObjectWriters.fieldWriter(String fieldName, ToShortFunction<T> function)