Package | Description |
---|---|
org.kordamp.json |
The core of the library
|
org.kordamp.json.util |
Miscelaneous utilities
|
Modifier and Type | Method and Description |
---|---|
CycleDetectionStrategy |
JsonConfig.getCycleDetectionStrategy()
Returns the configured CycleDetectionStrategy.
Default value is CycleDetectionStrategy.STRICT [Java -> JSON] |
Modifier and Type | Method and Description |
---|---|
void |
JsonConfig.setCycleDetectionStrategy(CycleDetectionStrategy cycleDetectionStrategy)
Sets a CycleDetectionStrategy to use.
Will set default value (CycleDetectionStrategy.STRICT) if null. [Java -> JSON] |
Modifier and Type | Field and Description |
---|---|
static CycleDetectionStrategy |
CycleDetectionStrategy.LENIENT
Returns empty array and null object
|
static CycleDetectionStrategy |
CycleDetectionStrategy.NOPROP
Returns a special object (IGNORE_PROPERTY_OBJ) that indicates the entire
property should be ignored
|
static CycleDetectionStrategy |
CycleDetectionStrategy.STRICT
Throws a JSONException
|