Package | Description |
---|---|
net.sf.json |
The core of the library
|
net.sf.json.util |
Miscelaneous utilities
|
Modifier and Type | Method | Description |
---|---|---|
CycleDetectionStrategy |
JsonConfig.getCycleDetectionStrategy() |
Returns the configured CycleDetectionStrategy.
Default value is CycleDetectionStrategy.STRICT [Java -> JSON] |
Modifier and Type | Method | 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 | 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
|
Copyright © 2006–2019 Json-lib. All rights reserved.