- get(int) - Method in class org.kordamp.json.JSONArray
-
Get the object value associated with an index.
- get(Object) - Method in class org.kordamp.json.JSONObject
-
- get(String) - Method in class org.kordamp.json.JSONObject
-
Get the value object associated with a key.
- getArrayMode() - Method in class org.kordamp.json.JsonConfig
-
Returns the current array mode conversion.
[JSON -> Java]
- getArrayName() - Method in class org.kordamp.json.xml.XMLSerializer
-
Returns the name used for JSONArray.
- getBoolean(int) - Method in class org.kordamp.json.JSONArray
-
Get the boolean value associated with an index.
- getBoolean(String) - Method in class org.kordamp.json.JSONObject
-
Get the boolean value associated with a key.
- getClassMap() - Method in class org.kordamp.json.JsonConfig
-
Returns the current attribute/class Map.
[JSON -> Java]
- getCollectionType(PropertyDescriptor, boolean) - Static method in class org.kordamp.json.JSONArray
-
Get the collection type from a getter or setter, or null if no type was
found.
Contributed by [Matt Small @ WaveMaker].
- getCollectionType() - Method in class org.kordamp.json.JsonConfig
-
Returns the current collection type used for collection transformations.
[JSON -> Java]
- getCycleDetectionStrategy() - Method in class org.kordamp.json.JsonConfig
-
Returns the configured CycleDetectionStrategy.
Default value is CycleDetectionStrategy.STRICT
[Java -> JSON]
- getDefaultValue(Class) - Method in class org.kordamp.json.processors.DefaultDefaultValueProcessor
-
- getDefaultValue(Class) - Method in interface org.kordamp.json.processors.DefaultValueProcessor
-
Returns an appropriate default value for a type.
- getDefaultValueProcessorMatcher() - Method in class org.kordamp.json.JsonConfig
-
Returns the configured DefaultValueProcessorMatcher.
Default value is DefaultValueProcessorMatcher.DEFAULT
[Java -> JSON]
- getDimensions(JSONArray) - Static method in class org.kordamp.json.JSONArray
-
Returns the number of dimensions suited for a java array.
- getDouble(int) - Method in class org.kordamp.json.JSONArray
-
Get the double value associated with an index.
- getDouble(String) - Method in class org.kordamp.json.JSONObject
-
Get the double value associated with a key.
- getElementName() - Method in class org.kordamp.json.xml.XMLSerializer
-
Returns the name used for JSONArray elements.
- getElementNamespace(String) - Method in class org.kordamp.json.xml.XMLSerializer
-
Returns a read-only view of the particular element name space if found.
- getEnclosedType() - Method in class org.kordamp.json.JsonConfig
-
Returns the current enclosed type for generic collection transformations.
[JSON -> Java]
- getExcludes() - Method in class org.kordamp.json.JsonConfig
-
Returns the configured properties for exclusion.
- getExpandableProperties() - Method in class org.kordamp.json.xml.XMLSerializer
-
Returns a list of properties to be expanded from child to parent.
- getForcedArrayElements() - Method in class org.kordamp.json.xml.XMLSerializer
-
Returns the set of XML elements that force their children to be treated as array elements.
- getFunctionBody(String) - Static method in class org.kordamp.json.util.JSONUtils
-
Returns the body of a function literal.
- getFunctionParams(String) - Static method in class org.kordamp.json.util.JSONUtils
-
Returns the params of a function literal.
- getGroupIfMatches(String, int) - Method in class org.kordamp.json.regexp.JdkRegexpMatcher
-
- getGroupIfMatches(String, int) - Method in interface org.kordamp.json.regexp.RegexpMatcher
-
Returns the specified group if the string matches the Pattern.
The Pattern will be managed internally by the RegexpMatcher
implementation.
- getIgnoreFieldAnnotations() - Method in class org.kordamp.json.JsonConfig
-
Returns a List of all annotations that mark a field to be skipped when building.
[Java -> JSON]
- getInnerComponentType(Class) - Static method in class org.kordamp.json.util.JSONUtils
-
Returns the inner-most component type of an Array.
- getInstance() - Static method in class org.kordamp.json.JSONNull
-
Returns the singleton instance of JSONNull
- getInt(int) - Method in class org.kordamp.json.JSONArray
-
Get the int value associated with an index.
- getInt(String) - Method in class org.kordamp.json.JSONObject
-
Get the int value associated with a key.
- getJavaIdentifierTransformer() - Method in class org.kordamp.json.JsonConfig
-
Returns the configured JavaIdentifierTransformer.
- getJavaPropertyFilter() - Method in class org.kordamp.json.JsonConfig
-
Returns the configured property filter when serializing to Java.
[JSON -> Java]
- getJavaPropertyNameProcessorMatcher() - Method in class org.kordamp.json.JsonConfig
-
Returns the configured PropertyNameProcessorMatcher.
Default value is PropertyNameProcessorMatcher.DEFAULT
[JSON -> Java]
- getJSONArray(int) - Method in class org.kordamp.json.JSONArray
-
Get the JSONArray associated with an index.
- getJSONArray(String) - Method in class org.kordamp.json.JSONObject
-
Get the JSONArray value associated with a key.
- getJsonBeanProcessorMatcher() - Method in class org.kordamp.json.JsonConfig
-
Returns the configured JsonBeanProcessorMatcher.
Default value is JsonBeanProcessorMatcher.DEFAULT
[JSON -> Java]
- getJsonEventListeners() - Method in class org.kordamp.json.JsonConfig
-
Returns a list of registered listeners for JSON events.
[JSON -> Java]
- getJSONObject(int) - Method in class org.kordamp.json.JSONArray
-
Get the JSONObject associated with an index.
- getJSONObject(String) - Method in class org.kordamp.json.JSONObject
-
Get the JSONObject value associated with a key.
- getJsonPropertyFilter() - Method in class org.kordamp.json.JsonConfig
-
Returns the configured property filter when serializing to JSON.
[Java -> JSON]
- getJsonPropertyNameProcessorMatcher() - Method in class org.kordamp.json.JsonConfig
-
Returns the configured PropertyNameProcessorMatcher.
Default value is PropertyNameProcessorMatcher.DEFAULT
[Java -> JSON]
- getJsonValueProcessorMatcher() - Method in class org.kordamp.json.JsonConfig
-
Returns the configured JsonValueProcessorMatcher.
Default value is JsonValueProcessorMatcher.DEFAULT
[Java -> JSON]
- getLong(int) - Method in class org.kordamp.json.JSONArray
-
Get the long value associated with an index.
- getLong(String) - Method in class org.kordamp.json.JSONObject
-
Get the long value associated with a key.
- getMatch(Class, Set) - Method in class org.kordamp.json.processors.DefaultValueProcessorMatcher
-
Returns the matching class calculated with the target class and the
provided set.
- getMatch(Class, Set) - Method in class org.kordamp.json.processors.JsonBeanProcessorMatcher
-
Returns the matching class calculated with the target class and the
provided set.
- getMatch(Class, Set) - Method in class org.kordamp.json.processors.JsonValueProcessorMatcher
-
Returns the matching class calculated with the target class and the
provided set.
- getMatch(Class, Set) - Method in class org.kordamp.json.processors.PropertyNameProcessorMatcher
-
Returns the matching class calculated with the target class and the
provided set.
- getMatch(Class, Set) - Method in class org.kordamp.json.util.PropertyExclusionClassMatcher
-
Returns the matching class calculated with the target class and the
provided set.
- getMatcher(String) - Static method in class org.kordamp.json.regexp.RegexpUtils
-
Returns a RegexpMatcher that works in a specific environment.
- getMatcher(String, boolean) - Static method in class org.kordamp.json.regexp.RegexpUtils
-
Returns a RegexpMatcher that works in a specific environment.
- getMergedExcludes() - Method in class org.kordamp.json.JsonConfig
-
Returns a set of default excludes with user-defined excludes.
[Java -> JSON]
- getMergedExcludes(Class) - Method in class org.kordamp.json.JsonConfig
-
Returns a set of default excludes with user-defined excludes.
Takes into account any additional excludes per matching class.
- getMorpherRegistry() - Static method in class org.kordamp.json.util.JSONUtils
-
Returns the singleton MorpherRegistry.
- getNewBeanInstanceStrategy() - Method in class org.kordamp.json.JsonConfig
-
Returns the configured NewBeanInstanceStrategy.
Default value is NewBeanInstanceStrategy.DEFAULT
[JSON -> Java]
- getObjectName() - Method in class org.kordamp.json.xml.XMLSerializer
-
Returns the name used for JSONArray.
- getParams() - Method in class org.kordamp.json.JSONFunction
-
Returns the parameters of this function.
- getProperties(JSONObject) - Static method in class org.kordamp.json.util.JSONUtils
-
Creates a Map with all the properties of the JSONObject.
- getProperty(Class, Object, String, JsonConfig) - Static method in class org.kordamp.json.JSONObject.Impl
-
- getPropertyExclusionClassMatcher() - Method in class org.kordamp.json.JsonConfig
-
Returns the configured PropertyExclusionClassMatcher.
Default value is PropertyExclusionClassMatcher.DEFAULT
[JSON -> Java]
- getPropertyNameProcessorMatcher() - Method in class org.kordamp.json.JsonConfig
-
- getPropertySetStrategy() - Method in class org.kordamp.json.JsonConfig
-
Returns the configured PropertySetStrategy.
Default value is PropertySetStrategy.DEFAULT
[JSON -> Java]
- getRootClass() - Method in class org.kordamp.json.JsonConfig
-
Returns the current root Class.
[JSON -> Java]
- getRootName() - Method in class org.kordamp.json.xml.XMLSerializer
-
Returns the name used for the root element.
- getRootNamespace() - Method in class org.kordamp.json.xml.XMLSerializer
-
Returns a read-only view of the root name space.
- getString(int) - Method in class org.kordamp.json.JSONArray
-
Get the string associated with an index.
- getString(String) - Method in class org.kordamp.json.JSONObject
-
Get the string associated with a key.
- getText() - Method in class org.kordamp.json.JSONFunction
-
Reeturns the text of this function.
- getTypeClass(Object) - Static method in class org.kordamp.json.util.JSONUtils
-
Returns the JSON type.
Values are Object, String, Boolean, Number(subclasses) & JSONFunction.
- getWebHijackPreventionStrategy() - Static method in class org.kordamp.json.util.WebUtils
-
Returns the configured WebHijackPreventionStrategy.