Package | Description |
---|---|
org.kordamp.json |
The core of the library
|
org.kordamp.json.processors |
Support for custom serialization
|
Modifier and Type | Method and Description |
---|---|
JsonValueProcessor |
JsonConfig.findJsonValueProcessor(Class propertyType)
Finds a JsonValueProcessor registered to the target type.
Returns null if none is registered. [Java -> JSON] |
JsonValueProcessor |
JsonConfig.findJsonValueProcessor(Class beanClass,
Class propertyType,
String key)
Finds a JsonValueProcessor.
It will search the registered JsonValueProcessors in the following order: beanClass, key beanClass, type key type Returns null if none is registered. [Java -> JSON] |
JsonValueProcessor |
JsonConfig.findJsonValueProcessor(Class propertyType,
String key)
Finds a JsonValueProcessor.
It will search the registered JsonValueProcessors in the following order: key type Returns null if none is registered. [Java -> JSON] |
Modifier and Type | Method and Description |
---|---|
void |
JsonConfig.registerJsonValueProcessor(Class beanClass,
Class propertyType,
JsonValueProcessor jsonValueProcessor)
Registers a JsonValueProcessor.
[Java -> JSON] |
void |
JsonConfig.registerJsonValueProcessor(Class propertyType,
JsonValueProcessor jsonValueProcessor)
Registers a JsonValueProcessor.
[Java -> JSON] |
void |
JsonConfig.registerJsonValueProcessor(Class beanClass,
String key,
JsonValueProcessor jsonValueProcessor)
Registers a JsonValueProcessor.
[Java -> JSON] |
void |
JsonConfig.registerJsonValueProcessor(String key,
JsonValueProcessor jsonValueProcessor)
Registers a JsonValueProcessor.
[Java -> JSON] |
Modifier and Type | Class and Description |
---|---|
class |
JsDateJsonValueProcessor
Transforms a java.util.Date property into a JSONObject ideal for JsDate
conversion
|