Package | Description |
---|---|
net.sf.json |
The core of the library
|
net.sf.json.util |
Miscelaneous utilities
|
Modifier and Type | Method and Description |
---|---|
CycleDetectionStrategy |
JsonConfig.getCycleDetectionStrategy()
Returns the configured CycleDetectionStrategy.
Default value is CycleDetectionStrategy.STRICT |
Modifier and Type | Method and Description |
---|---|
void |
JsonConfig.setCycleDetectionStrategy(CycleDetectionStrategy cycleDetectionStrategy)
Sets a CycleDetectionStrategy to use.
Will set default value (CycleDetectionStrategy.STRICT) if null. |
Modifier and Type | Field and Description |
---|---|
static CycleDetectionStrategy |
CycleDetectionStrategy.LENIENT
Returns empty array and null object
|
static CycleDetectionStrategy |
CycleDetectionStrategy.STRICT
Throws a JSONException
|
Copyright © 2006-2014 Json-lib. All Rights Reserved.