- IGNORE_PROPERTY_ARR - Static variable in class org.kordamp.json.util.CycleDetectionStrategy
-
- IGNORE_PROPERTY_OBJ - Static variable in class org.kordamp.json.util.CycleDetectionStrategy
-
- Impl() - Constructor for class org.kordamp.json.JSONArray.Impl
-
- Impl() - Constructor for class org.kordamp.json.JSONObject.Impl
-
- indexOf(Object) - Method in class org.kordamp.json.JSONArray
-
- INFINITE_LOOP - Static variable in class org.kordamp.json.util.WebHijackPreventionStrategy
-
Prepends "while(1);"
- INTEGER - Static variable in interface org.kordamp.json.xml.JSONTypes
-
- isAllowNonStringKeys() - Method in class org.kordamp.json.JsonConfig
-
Returns true if non-String keys are allowed on JSONObject.
Default value is false
[Java -> JSON]
- isArray() - Method in interface org.kordamp.json.JSON
-
Returns true if this object is a JSONArray, false otherwise.
- isArray() - Method in class org.kordamp.json.JSONArray
-
- isArray() - Method in class org.kordamp.json.JSONNull
-
- isArray() - Method in class org.kordamp.json.JSONObject
-
- isArray(Class) - Static method in class org.kordamp.json.util.JSONUtils
-
Tests if a Class represents an array or Collection.
- isArray(Object) - Static method in class org.kordamp.json.util.JSONUtils
-
Tests if obj is an array or Collection.
- isBoolean(Class) - Static method in class org.kordamp.json.util.JSONUtils
-
Tests if Class represents a Boolean or primitive boolean
- isBoolean(Object) - Static method in class org.kordamp.json.util.JSONUtils
-
Tests if obj is a Boolean or primitive boolean
- isDouble(Class) - Static method in class org.kordamp.json.util.JSONUtils
-
Tests if Class represents a primitive double or wrapper.
- isEmpty() - Method in interface org.kordamp.json.JSON
-
Returns true if this object has no elements or keys.
- isEmpty() - Method in class org.kordamp.json.JSONArray
-
- isEmpty() - Method in class org.kordamp.json.JSONNull
-
- isEmpty() - Method in class org.kordamp.json.JSONObject
-
- isEventTriggeringEnabled() - Method in class org.kordamp.json.JsonConfig
-
Returns true if event triggering is enabled during building.
Default value is false
[Java -> JSON]
- isExpandElements() - Method in class org.kordamp.json.JSONArray
-
- isForceTopLevelObject() - Method in class org.kordamp.json.xml.XMLSerializer
-
- isFunction(Object) - Static method in class org.kordamp.json.util.JSONUtils
-
Tests if obj is javaScript function.
Obj must be a non-null String and match "^function[ ]?\\(.\*\)[
]?\\{.\*\}$"
- isFunctionHeader(Object) - Static method in class org.kordamp.json.util.JSONUtils
-
Tests if obj is javaScript function header.
Obj must be a non-null String and match "^function[ ]?\\(.\*\)$"
- isHandleJettisonEmptyElement() - Method in class org.kordamp.json.JsonConfig
-
Returns true if this Jettison convention will be handled when converting to Java.
Jettison assumes that "" (empty string) can be assigned to empty elements (objects), which
clearly violates the JSON spec.
[JSON -> Java]
- isHandleJettisonSingleElementArray() - Method in class org.kordamp.json.JsonConfig
-
Returns true if this jettison convention will be handled when converting to Java.
Jettison states the following JSON {'media':{'title':'hello'}} can be set as a single element
JSONArray (media is the array).
[JSON -> Java]
- isIgnoreDefaultExcludes() - Method in class org.kordamp.json.JsonConfig
-
Returns true if default excludes will not be used.
Default value is false.
[Java -> JSON]
- isIgnoreJPATransient() - Method in class org.kordamp.json.JsonConfig
-
Returns true if JPA Transient annotated methods should be ignored.
Default value is false.
[Java -> JSON]
- isIgnorePublicFields() - Method in class org.kordamp.json.JsonConfig
-
Returns true if public fields of a bean will be ignored.
Default value is true.
[Java -> JSON]
- isIgnoreTransientFields() - Method in class org.kordamp.json.JsonConfig
-
Returns true if transient fields of a bean will be ignored.
Default value is false.
[Java -> JSON]
- isIgnoreUnreadableProperty() - Method in class org.kordamp.json.JsonConfig
-
- isJavaIdentifier(String) - Static method in class org.kordamp.json.util.JSONUtils
-
Returns trus if str represents a valid Java identifier.
- isJavascriptCompliant() - Method in class org.kordamp.json.JsonConfig
-
Returns true if Javascript compatibility is turned on.
Default value is false.
[Java -> JSON]
- isJsonKeyword(String, JsonConfig) - Static method in class org.kordamp.json.util.JSONUtils
-
- isNamespaceLenient() - Method in class org.kordamp.json.xml.XMLSerializer
-
Returns whether this serializer is tolerant to namespaces without URIs or
not.
- isNull(Object) - Static method in class org.kordamp.json.util.JSONUtils
-
Tests if the obj is a javaScript null.
- isNullObject() - Method in class org.kordamp.json.JSONObject
-
Returs if this object is a null JSONObject.
- isNumber(Class) - Static method in class org.kordamp.json.util.JSONUtils
-
Tests if Class represents a primitive number or wrapper.
- isNumber(Object) - Static method in class org.kordamp.json.util.JSONUtils
-
Tests if obj is a primitive number or wrapper.
- isObject(Object) - Static method in class org.kordamp.json.util.JSONUtils
-
Tests if obj is not a boolean, number, string or array.
- isParseJsonLiterals() - Method in class org.kordamp.json.JsonConfig
-
- isParseJsonLiterals() - Method in class org.kordamp.json.xml.XMLSerializer
-
Returns whether JSON literals are parsed as JSON or not.
- isRemoveNamespacePrefixFromElements() - Method in class org.kordamp.json.xml.XMLSerializer
-
Returns whether this serializer will remove namespace prefix from elements
or not.
- isSkipJavaIdentifierTransformationInMapKeys() - Method in class org.kordamp.json.JsonConfig
-
Returns true if map keys will not be transformed.
Default value is false.
[JSON -> Java]
- isSkipNamespaces() - Method in class org.kordamp.json.xml.XMLSerializer
-
Returns whether this serializer will skip adding namespace declarations to
elements or not.
- isSkipWhitespace() - Method in class org.kordamp.json.xml.XMLSerializer
-
Returns whether this serializer will skip whitespace or not.
- isSortPropertyNames() - Method in class org.kordamp.json.xml.XMLSerializer
-
Returns whether this serializer will sort object properties by name or not.
- isString(Class) - Static method in class org.kordamp.json.util.JSONUtils
-
Tests if Class represents a String or a char
- isString(Object) - Static method in class org.kordamp.json.util.JSONUtils
-
Tests if obj is a String or a char
- isTransient(AnnotatedElement, JsonConfig) - Static method in class org.kordamp.json.JSONObject.Impl
-
- isTransientField(String, Class, JsonConfig) - Static method in class org.kordamp.json.JSONObject.Impl
-
- isTransientField(Field, JsonConfig) - Static method in class org.kordamp.json.JSONObject.Impl
-
- isTrimSpaces() - Method in class org.kordamp.json.xml.XMLSerializer
-
Returns whether this serializer will trim leading and trealing whitespace
from values or not.
- isTypeHintsCompatibility() - Method in class org.kordamp.json.xml.XMLSerializer
-
Returns true if types hints will have a 'json_' prefix or not.
- isTypeHintsEnabled() - Method in class org.kordamp.json.xml.XMLSerializer
-
Returns true if JSON types will be included as attributes.
- isValidJsonValue(Object) - Static method in class org.kordamp.json.processors.JsonVerifier
-
Verifies if value is a valid JSON value.
- iterator() - Method in class org.kordamp.json.JSONArray
-
Returns an Iterator for this JSONArray