Skip navigation links
json-lib 3.0.2-SNAPSHOT
A B C D E F G H I J K L M N O P Q R S T U V W X _ 

T

testValidity(Object) - Static method in class org.kordamp.json.util.JSONUtils
Throw an exception if the object is an NaN or infinite number.
toArray(JSONArray) - Static method in class org.kordamp.json.JSONArray
Creates a java array from a JSONArray.
toArray(JSONArray, Class) - Static method in class org.kordamp.json.JSONArray
Creates a java array from a JSONArray.
toArray(JSONArray, Class, Map) - Static method in class org.kordamp.json.JSONArray
Creates a java array from a JSONArray.
Any attribute is a JSONObject and matches a key in the classMap, it will be converted to that target class.
The classMap has the following conventions: Every key must be an String. Every value must be a Class. A key may be a regular expression.
toArray(JSONArray, JsonConfig) - Static method in class org.kordamp.json.JSONArray
Creates a java array from a JSONArray.
toArray(JSONArray, Object, JsonConfig) - Static method in class org.kordamp.json.JSONArray
Creates a java array from a JSONArray.
toArray() - Method in class org.kordamp.json.JSONArray
Produce an Object[] with the contents of this JSONArray.
toArray(Object[]) - Method in class org.kordamp.json.JSONArray
 
toBean(JSONObject) - Static method in class org.kordamp.json.JSONObject
 
toBean(JSONObject, Class) - Static method in class org.kordamp.json.JSONObject
Creates a bean from a JSONObject, with a specific target class.
toBean(JSONObject, Class, Map) - Static method in class org.kordamp.json.JSONObject
Creates a bean from a JSONObject, with a specific target class.
If beanClass is null, this method will return a graph of DynaBeans.
toBean(JSONObject, JsonConfig) - Static method in class org.kordamp.json.JSONObject
Creates a bean from a JSONObject, with the specific configuration.
toBean(JSONObject, Object, JsonConfig) - Static method in class org.kordamp.json.JSONObject
Creates a bean from a JSONObject, with the specific configuration.
toBean() - Method in class org.kordamp.json.JSONObject
Creates a JSONDynaBean from a JSONObject.
toBean(Class) - Method in class org.kordamp.json.JSONObject
 
toCollection(JSONArray) - Static method in class org.kordamp.json.JSONArray
Returns a List or a Set taking generics into account.
toCollection(JSONArray, Class) - Static method in class org.kordamp.json.JSONArray
Returns a List or a Set taking generics into account.
toCollection(JSONArray, JsonConfig) - Static method in class org.kordamp.json.JSONArray
Returns a List or a Set taking generics into account.
Contributed by [Matt Small @ WaveMaker].
toJava(JSON) - Static method in class org.kordamp.json.JSONSerializer
Transform a JSON value to a java object.
Depending on the configured values for conversion this will return a DynaBean, a bean, a List, or and array.
toJava(JSON, JsonConfig) - Static method in class org.kordamp.json.JSONSerializer
Transform a JSON value to a java object.
Depending on the configured values for conversion this will return a DynaBean, a bean, a List, or and array.
toJSON(Object) - Static method in class org.kordamp.json.JSONSerializer
Creates a JSONObject, JSONArray or a JSONNull from object.
Accepts JSON formatted strings, Maps, arrays, Collections, DynaBeans and JavaBeans.
toJSON(Object, JsonConfig) - Static method in class org.kordamp.json.JSONSerializer
Creates a JSONObject, JSONArray or a JSONNull from object.
Accepts JSON formatted strings, Maps, arrays, Collections, DynaBeans and JavaBeans.
toJSONArray(JSONArray) - Method in class org.kordamp.json.JSONObject
Produce a JSONArray containing the values of the members of this JSONObject.
toJSONObject(JSONArray) - Method in class org.kordamp.json.JSONArray
Produce a JSONObject by combining a JSONArray of names with the values of this JSONArray.
toJSONString() - Method in interface org.kordamp.json.JSONString
The toJSONString method allows a class to produce its own JSON serialization.
toList(JSONArray) - Static method in class org.kordamp.json.JSONArray
Deprecated.
replaced by toCollection
toList(JSONArray, Class) - Static method in class org.kordamp.json.JSONArray
Deprecated.
replaced by toCollection
toList(JSONArray, Class, Map) - Static method in class org.kordamp.json.JSONArray
Deprecated.
replaced by toCollection
toList(JSONArray, JsonConfig) - Static method in class org.kordamp.json.JSONArray
Deprecated.
replaced by toCollection
toList(JSONArray, Object, JsonConfig) - Static method in class org.kordamp.json.JSONArray
Creates a List from a JSONArray.
toString(int) - Method in interface org.kordamp.json.JSON
Make a prettyprinted JSON text.
toString(int, int) - Method in interface org.kordamp.json.JSON
Make a prettyprinted JSON text.
toString() - Method in class org.kordamp.json.JSONArray
Make a JSON text of this JSONArray.
toString(int) - Method in class org.kordamp.json.JSONArray
Make a prettyprinted JSON text of this JSONArray.
toString(int, int) - Method in class org.kordamp.json.JSONArray
Make a prettyprinted JSON text of this JSONArray.
toString() - Method in class org.kordamp.json.JSONFunction
Returns the string representation of this function.
toString() - Method in class org.kordamp.json.JSONNull
Get the "null" string value.
toString(int) - Method in class org.kordamp.json.JSONNull
 
toString(int, int) - Method in class org.kordamp.json.JSONNull
 
toString() - Method in class org.kordamp.json.JSONObject
Make a JSON text of this JSONObject.
toString(int) - Method in class org.kordamp.json.JSONObject
Make a prettyprinted JSON text of this JSONObject.
toString(int, int) - Method in class org.kordamp.json.JSONObject
Make a prettyprinted JSON text of this JSONObject.
toString() - Method in class org.kordamp.json.util.JSONStringer
Return the JSON text.
toString() - Method in class org.kordamp.json.util.JSONTokener
Make a printable string of this JSONTokener.
toString(JSON) - Static method in class org.kordamp.json.util.WebUtils
Returns a string represenation of a JSON value.
When an object property name does not contain a space (' ') or a colon (':'), the quotes are omitted.
transformNumber(Number) - Static method in class org.kordamp.json.util.JSONUtils
Transforms a Number into a valid javascript number.
Float gets promoted to Double.
Byte and Short get promoted to Integer.
Long gets downgraded to Integer if possible.
transformToJavaIdentifier(String) - Method in class org.kordamp.json.util.JavaIdentifierTransformer
 
TruePropertyFilter - Class in org.kordamp.json.filters
 
TruePropertyFilter() - Constructor for class org.kordamp.json.filters.TruePropertyFilter
 
A B C D E F G H I J K L M N O P Q R S T U V W X _ 
Skip navigation links
Copyright © 2006-2020 Andres Almiray. All rights reserved.