| Package | Description |
|---|---|
| com.alibaba.fastjson2 | |
| com.alibaba.fastjson2.filter | |
| com.alibaba.fastjson2.reader | |
| com.alibaba.fastjson2.writer |
| Modifier and Type | Method and Description |
|---|---|
static PropertyNamingStrategy |
PropertyNamingStrategy.of(java.lang.String strategy)
Returns the PropertyNamingStrategy enum constant with the specified name.
|
static PropertyNamingStrategy |
PropertyNamingStrategy.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PropertyNamingStrategy[] |
PropertyNamingStrategy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static NameFilter |
NameFilter.of(PropertyNamingStrategy namingStrategy) |
| Modifier and Type | Field and Description |
|---|---|
protected PropertyNamingStrategy |
FieldReaderMap.namingStrategy |
(package private) PropertyNamingStrategy |
ObjectReaderProvider.namingStrategy |
| Modifier and Type | Method and Description |
|---|---|
PropertyNamingStrategy |
ObjectReaderProvider.getNamingStrategy()
Gets the property naming strategy used by this provider.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) static void |
FieldReaderObject.arrayToMap(java.util.Map object,
java.util.Collection values,
java.lang.String keyName,
PropertyNamingStrategy namingStrategy,
ObjectReader valueReader,
java.util.function.BiConsumer duplicateHandler) |
void |
ObjectReaderProvider.setNamingStrategy(PropertyNamingStrategy namingStrategy)
Sets the property naming strategy used by this provider.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) PropertyNamingStrategy |
ObjectWriterProvider.namingStrategy |
| Modifier and Type | Method and Description |
|---|---|
PropertyNamingStrategy |
ObjectWriterProvider.getNamingStrategy()
Gets the property naming strategy used by this provider.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ObjectWriterProvider.setNamingStrategy(PropertyNamingStrategy namingStrategy)
Sets the property naming strategy used by this provider.
|
| Constructor and Description |
|---|
ObjectWriterProvider(PropertyNamingStrategy namingStrategy)
Constructs an ObjectWriterProvider with the specified naming strategy.
|