| Package | Description |
|---|---|
| com.alibaba.fastjson.serializer | |
| com.alibaba.fastjson2 | |
| com.alibaba.fastjson2.filter | |
| com.alibaba.fastjson2.writer |
| Modifier and Type | Interface and Description |
|---|---|
interface |
NameFilter |
| Modifier and Type | Field and Description |
|---|---|
(package private) NameFilter |
JSONWriter.Context.nameFilter |
| Modifier and Type | Method and Description |
|---|---|
NameFilter |
JSONWriter.Context.getNameFilter()
Gets the name filter for this context.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) static void |
JSONObject.nameFilter(java.lang.Iterable<?> iterable,
NameFilter nameFilter)
Applies a name filter to an iterable collection.
|
(package private) static void |
JSONObject.nameFilter(java.util.Map map,
NameFilter nameFilter)
Applies a name filter to a map.
|
void |
JSONObject.nameFilter(NameFilter nameFilter)
Applies a name filter to this JSONObject.
|
void |
JSONWriter.Context.setNameFilter(NameFilter nameFilter)
Sets the name filter for this context.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PascalNameFilter |
| Modifier and Type | Method and Description |
|---|---|
static NameFilter |
NameFilter.compose(NameFilter before,
NameFilter after) |
static NameFilter |
NameFilter.of(java.util.function.Function<java.lang.String,java.lang.String> function) |
static NameFilter |
NameFilter.of(PropertyNamingStrategy namingStrategy) |
| Modifier and Type | Method and Description |
|---|---|
static NameFilter |
NameFilter.compose(NameFilter before,
NameFilter after) |
| Modifier and Type | Field and Description |
|---|---|
(package private) NameFilter |
ObjectWriterAdapter.nameFilter |
| Modifier and Type | Method and Description |
|---|---|
default void |
ObjectWriter.setNameFilter(NameFilter nameFilter)
Sets the name filter for this ObjectWriter.
|
void |
ObjectWriterAdapter.setNameFilter(NameFilter nameFilter) |