| Modifier and Type | Interface and Description |
|---|---|
static interface |
ParserConfig.AutoTypeCheckHandler |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ParseProcess |
| Modifier and Type | Interface and Description |
|---|---|
interface |
SerializeFilter |
| Modifier and Type | Class and Description |
|---|---|
class |
PropertyPreFilters.MySimplePropertyPreFilter |
| Modifier and Type | Interface and Description |
|---|---|
static interface |
JSONReader.AutoTypeBeforeHandler |
| Modifier and Type | Method and Description |
|---|---|
void |
JSONReader.Context.config(Filter filter)
Configures a filter for this context.
|
void |
JSONReader.Context.config(Filter[] filters)
Configures filters for this context.
|
void |
JSONReader.Context.config(Filter[] filters,
JSONReader.Feature... features)
Configures filters and features for this context.
|
void |
JSONReader.Context.config(Filter filter,
JSONReader.Feature... features)
Configures a filter and features for this context.
|
void |
JSONWriter.Context.configFilter(Filter... filters)
Configures filters for this context.
|
static JSONReader.Context |
JSONFactory.createReadContext(Filter filter,
JSONReader.Feature... features) |
static <T> T |
JSON.parseObject(byte[] bytes,
java.lang.Class<T> clazz,
Filter filter,
JSONReader.Feature... features)
Parses the json byte array as
T. |
static <T> T |
JSONB.parseObject(byte[] jsonbBytes,
java.lang.Class<T> objectClass,
Filter filter,
JSONReader.Feature... features)
Parses JSONB bytes to an object of the specified class with a filter and features
|
static <T> T |
JSON.parseObject(byte[] bytes,
java.lang.reflect.Type type,
Filter filter,
JSONReader.Feature... features)
Parses the json byte array as
T. |
static <T> T |
JSON.parseObject(byte[] bytes,
java.lang.reflect.Type type,
java.lang.String format,
Filter[] filters,
JSONReader.Feature... features)
Parses the json byte array as
T. |
static <T> T |
JSONB.parseObject(byte[] jsonbBytes,
java.lang.reflect.Type objectType,
SymbolTable symbolTable,
Filter[] filters,
JSONReader.Feature... features)
Parses JSONB bytes to an object of the specified type with a symbol table, filters and features
|
static <T> T |
JSON.parseObject(java.lang.String text,
java.lang.Class<T> clazz,
Filter filter,
JSONReader.Feature... features)
Parses the json string as
T. |
static <T> T |
JSON.parseObject(java.lang.String text,
java.lang.reflect.Type type,
Filter filter,
JSONReader.Feature... features)
Parses the json string as
T. |
static <T> T |
JSON.parseObject(java.lang.String text,
TypeReference<T> typeReference,
Filter filter,
JSONReader.Feature... features)
Parses the json string as
T. |
static <T> T |
JSON.parseObject(java.lang.String text,
java.lang.reflect.Type type,
java.lang.String format,
Filter[] filters,
JSONReader.Feature... features)
Parses the json string as
T. |
static void |
JSON.register(java.lang.Class type,
Filter filter)
Register ObjectWriterFilter
|
static byte[] |
JSONB.toBytes(java.lang.Object object,
SymbolTable symbolTable,
Filter[] filters,
JSONWriter.Feature... features)
Converts an object to JSONB bytes with a symbol table, filters and features
|
static byte[] |
JSON.toJSONBytes(java.lang.Object object,
Filter... filters)
Serializes the specified object to the json byte array
|
static byte[] |
JSON.toJSONBytes(java.lang.Object object,
Filter[] filters,
JSONWriter.Feature... features)
Serializes the specified object to the json byte array
|
static byte[] |
JSON.toJSONBytes(java.lang.Object object,
java.lang.String format,
Filter[] filters,
JSONWriter.Feature... features)
Serializes the specified object to the json byte array
|
static java.lang.String |
JSON.toJSONString(java.lang.Object object,
Filter[] filters,
JSONWriter.Feature... features)
Serializes the specified object to the json string
|
static java.lang.String |
JSON.toJSONString(java.lang.Object object,
Filter filter,
JSONWriter.Feature... features)
Serializes the specified object to the json string
|
static java.lang.String |
JSON.toJSONString(java.lang.Object object,
java.lang.String format,
Filter[] filters,
JSONWriter.Feature... features)
Serializes the specified object to the json string
|
static int |
JSON.writeTo(java.io.OutputStream out,
java.lang.Object object,
Filter[] filters,
JSONWriter.Feature... features)
Serializes the specified object to the json byte array and write it to
OutputStream |
static int |
JSON.writeTo(java.io.OutputStream out,
java.lang.Object object,
java.lang.String format,
Filter[] filters,
JSONWriter.Feature... features)
Serializes the specified object to the json byte array and write it to
OutputStream |
| Constructor and Description |
|---|
Context(ObjectReaderProvider provider,
Filter filter,
JSONReader.Feature... features)
Creates a new Context with the specified object reader provider, filter, and features.
|
Context(ObjectReaderProvider provider,
SymbolTable symbolTable,
Filter[] filters,
JSONReader.Feature... features)
Creates a new Context with the specified object reader provider, symbol table, filters, and features.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ContextNameFilter |
interface |
ContextValueFilter |
interface |
ExtraProcessor |
interface |
LabelFilter |
interface |
NameFilter |
interface |
PropertyFilter |
interface |
PropertyPreFilter |
interface |
ValueFilter |
| Modifier and Type | Class and Description |
|---|---|
class |
AfterFilter |
class |
BeforeFilter |
(package private) class |
CompositeLabelFilter |
(package private) class |
CompositePropertyFilter |
(package private) class |
CompositePropertyPreFilter |
class |
ContextAutoTypeBeforeHandler |
static class |
Labels.DefaultLabelFilter |
class |
PascalNameFilter |
class |
SimplePropertyPreFilter |
| Modifier and Type | Field and Description |
|---|---|
private Filter[] |
FastJsonConfig.readerFilters
JSONReader Filters
|
private Filter[] |
FastJsonConfig.writerFilters
JSONWriter Filters
|
| Modifier and Type | Method and Description |
|---|---|
Filter[] |
FastJsonConfig.getReaderFilters()
Get reader filters filter [ ].
|
Filter[] |
FastJsonConfig.getWriterFilters()
Get writer filters filter [ ].
|
| Modifier and Type | Method and Description |
|---|---|
void |
FastJsonConfig.setReaderFilters(Filter... readerFilters)
Sets reader filters.
|
void |
FastJsonConfig.setWriterFilters(Filter... writerFilters)
Sets writer filters.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
Fastjson2Encoder.configFilter(JSONWriter.Context context,
Filter... filters)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
default void |
ObjectWriter.setFilter(Filter filter)
Sets a filter for this ObjectWriter.
|