Uses of Class
net.sf.json.util.CycleDetectionStrategy
Packages that use CycleDetectionStrategy
-
Uses of CycleDetectionStrategy in net.sf.json
Fields in net.sf.json declared as CycleDetectionStrategyModifier and TypeFieldDescriptionprivate CycleDetectionStrategy
JsonConfig.cycleDetectionStrategy
private static final CycleDetectionStrategy
JsonConfig.DEFAULT_CYCLE_DETECTION_STRATEGY
Methods in net.sf.json that return CycleDetectionStrategyModifier and TypeMethodDescriptionJsonConfig.getCycleDetectionStrategy()
Returns the configured CycleDetectionStrategy.
Default value is CycleDetectionStrategy.STRICT
[Java -> JSON]Methods in net.sf.json with parameters of type CycleDetectionStrategyModifier and TypeMethodDescriptionvoid
JsonConfig.setCycleDetectionStrategy
(CycleDetectionStrategy cycleDetectionStrategy) Sets a CycleDetectionStrategy to use.
Will set default value (CycleDetectionStrategy.STRICT) if null.
[Java -> JSON] -
Uses of CycleDetectionStrategy in net.sf.json.util
Subclasses of CycleDetectionStrategy in net.sf.json.utilModifier and TypeClassDescriptionprivate static final class
private static final class
A cycle detection strategy that prevents any mention of the possible conflict from appearing.private static final class
Fields in net.sf.json.util declared as CycleDetectionStrategyModifier and TypeFieldDescriptionstatic final CycleDetectionStrategy
CycleDetectionStrategy.LENIENT
Returns empty array and null objectstatic final CycleDetectionStrategy
CycleDetectionStrategy.NOPROP
Returns a special object (IGNORE_PROPERTY_OBJ) that indicates the entire property should be ignoredstatic final CycleDetectionStrategy
CycleDetectionStrategy.STRICT
Throws a JSONException