public enum JSONCircularReferenceMode extends java.lang.Enum<JSONCircularReferenceMode> implements ValueEnum
JSONEncoder should do when it encounters a circular reference in an object
 structure.| Enum Constant and Description | 
|---|
| MARKERleave a string marker, the  JSONEncoder.circularReferenceMarker, wherever a circular reference is found | 
| OMITcircular references in Arrays will be represented as a null entry, and objects will have a property with a null value | 
| PATHleave a string marker followed by the path to the first occurrence of the circular reference from the top of the
 object tree that was serialized. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | getValue() | 
| static JSONCircularReferenceMode | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static JSONCircularReferenceMode[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final JSONCircularReferenceMode OMIT
 If this enumerated value is used in a Component XML
 file or server-side DataSource descriptor (.ds.xml file), use the value "omit".
public static final JSONCircularReferenceMode MARKER
JSONEncoder.circularReferenceMarker, wherever a circular reference is found
 
 If this enumerated value is used in a Component XML
 file or server-side DataSource descriptor (.ds.xml file), use the value "marker".
public static final JSONCircularReferenceMode PATH
 If this enumerated value is used in a Component XML
 file or server-side DataSource descriptor (.ds.xml file), use the value "path".
public static JSONCircularReferenceMode[] values()
for (JSONCircularReferenceMode c : JSONCircularReferenceMode.values()) System.out.println(c);
public static JSONCircularReferenceMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null