| Package | Description |
|---|---|
| com.alibaba.fastjson2 | |
| com.alibaba.fastjson2.modules | |
| com.alibaba.fastjson2.writer |
| Modifier and Type | Field and Description |
|---|---|
(package private) static java.lang.ThreadLocal<ObjectWriterCreator> |
JSONFactory.writerCreatorLocal |
| Modifier and Type | Method and Description |
|---|---|
static ObjectWriterCreator |
JSONFactory.getContextWriterCreator()
Gets the object writer creator for the current thread context.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
JSONFactory.setContextWriterCreator(ObjectWriterCreator creator)
Sets the object writer creator for the current thread context.
|
| Modifier and Type | Method and Description |
|---|---|
default boolean |
ObjectWriterModule.createFieldWriters(ObjectWriterCreator creator,
java.lang.Class objectType,
java.util.List<FieldWriter> fieldWriters) |
| Modifier and Type | Class and Description |
|---|---|
class |
ObjectWriterCreatorASM |
| Modifier and Type | Field and Description |
|---|---|
(package private) ObjectWriterCreator |
ObjectWriterProvider.creator |
static ObjectWriterCreator |
ObjectWriterCreator.INSTANCE |
(package private) static ObjectWriterCreator |
ObjectWriters.INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
ObjectWriterCreator |
ObjectWriterProvider.getCreator()
Gets the ObjectWriterCreator used by this provider.
|
| Constructor and Description |
|---|
ObjectWriterProvider(ObjectWriterCreator creator)
Constructs an ObjectWriterProvider with the specified ObjectWriterCreator.
|