- JavaIdentifierTransformer - Class in org.kordamp.json.util
-
Transforms a string into a valid Java identifier.
There are five predefined strategies:
NOOP: does not perform transformation.
CAMEL_CASE: follows the camel case convention, deletes non
JavaIndentifierPart chars.
UNDERSCORE: transform whitespace and non JavaIdentifierPart chars to
'_'.
WHITESPACE: deletes whitespace and non JavaIdentifierPart chars.
STRICT: always throws a JSONException, does not perform transformation.
- JavaIdentifierTransformer() - Constructor for class org.kordamp.json.util.JavaIdentifierTransformer
-
- JdkRegexpMatcher - Class in org.kordamp.json.regexp
-
JDK 1.4+ RegexpMatcher implementation.
- JdkRegexpMatcher(String) - Constructor for class org.kordamp.json.regexp.JdkRegexpMatcher
-
- JdkRegexpMatcher(String, boolean) - Constructor for class org.kordamp.json.regexp.JdkRegexpMatcher
-
- join(String) - Method in class org.kordamp.json.JSONArray
-
Make a string from the contents of this JSONArray.
- join(String, boolean) - Method in class org.kordamp.json.JSONArray
-
Make a string from the contents of this JSONArray.
- JsDateJsonBeanProcessor - Class in org.kordamp.json.processors
-
Transforms a java.util.Date into a JSONObject ideal for JsDate conversion.
Example:
- JsDateJsonBeanProcessor() - Constructor for class org.kordamp.json.processors.JsDateJsonBeanProcessor
-
- JsDateJsonValueProcessor - Class in org.kordamp.json.processors
-
Transforms a java.util.Date property into a JSONObject ideal for JsDate
conversion
- JsDateJsonValueProcessor() - Constructor for class org.kordamp.json.processors.JsDateJsonValueProcessor
-
- JSON - Interface in org.kordamp.json
-
- JSONArray - Class in org.kordamp.json
-
A JSONArray is an ordered sequence of values.
- JSONArray() - Constructor for class org.kordamp.json.JSONArray
-
Construct an empty JSONArray.
- JSONArray.Impl - Class in org.kordamp.json
-
This class is considered private API.
- JSONAssert - Class in org.kordamp.json.test
-
Provides assertions on equality for JSON strings and JSON types.
- JSONAssert() - Constructor for class org.kordamp.json.test.JSONAssert
-
- JsonBeanProcessor - Interface in org.kordamp.json.processors
-
Base interface for custom serialization per Bean.
- JsonBeanProcessorMatcher - Class in org.kordamp.json.processors
-
Base class for finding a matching JsonBeanProcessor.
DEFAULT - matches the target class with equals().
- JsonBeanProcessorMatcher() - Constructor for class org.kordamp.json.processors.JsonBeanProcessorMatcher
-
- JSONBuilder - Class in org.kordamp.json.util
-
JSONBuilder provides a quick and convenient way of producing JSON text.
- JSONBuilder(Writer) - Constructor for class org.kordamp.json.util.JSONBuilder
-
Make a fresh JSONBuilder.
- JsonConfig - Class in org.kordamp.json
-
Utility class that helps configuring the serialization process.
- JsonConfig() - Constructor for class org.kordamp.json.JsonConfig
-
- JsonEventListener - Interface in org.kordamp.json.util
-
Defines the contract to handle JsonEvents when building an object or array.
- JSONException - Exception in org.kordamp.json
-
The JSONException is thrown when things are amiss.
- JSONException() - Constructor for exception org.kordamp.json.JSONException
-
- JSONException(String) - Constructor for exception org.kordamp.json.JSONException
-
- JSONException(String, Throwable) - Constructor for exception org.kordamp.json.JSONException
-
- JSONException(Throwable) - Constructor for exception org.kordamp.json.JSONException
-
- JSONFunction - Class in org.kordamp.json
-
JSONFunction represents a javaScript function's text.
- JSONFunction(String) - Constructor for class org.kordamp.json.JSONFunction
-
Constructs a JSONFunction with no parameters.
- JSONFunction(String[], String) - Constructor for class org.kordamp.json.JSONFunction
-
Constructs a JSONFunction with parameters.
- JSONNull - Class in org.kordamp.json
-
JSONNull is equivalent to the value that JavaScript calls null, whilst Java's
null is equivalent to the value that JavaScript calls undefined.
- JSONObject - Class in org.kordamp.json
-
A JSONObject is an unordered collection of name/value pairs.
- JSONObject() - Constructor for class org.kordamp.json.JSONObject
-
Construct an empty JSONObject.
- JSONObject(boolean) - Constructor for class org.kordamp.json.JSONObject
-
Creates a JSONObject that is null.
- JSONObject.Impl - Class in org.kordamp.json
-
This class is considered private API.
- JSONSerializer - Class in org.kordamp.json
-
Transforms java objects into JSON and back.
Transformation from java to JSON is pretty straightforward, but the other way
around needs certain configuration, otherwise the java objects produced will
be DynaBeans and Lists, because the JSON notation does not carry any
information on java classes.
- JSONSerializer() - Constructor for class org.kordamp.json.JSONSerializer
-
- JSONString - Interface in org.kordamp.json
-
The JSONString
interface allows a toJSONString()
method so that a class can change the behavior of
JSONObject.toString()
, JSONArray.toString()
,
and JSONWriter.value(
Object)
.
- JSONStringer - Class in org.kordamp.json.util
-
JSONStringer provides a quick and convenient way of producing JSON text.
- JSONStringer() - Constructor for class org.kordamp.json.util.JSONStringer
-
Make a fresh JSONStringer.
- JSONTokener - Class in org.kordamp.json.util
-
A JSONTokener takes a source string and extracts characters and tokens from
it.
- JSONTokener(String) - Constructor for class org.kordamp.json.util.JSONTokener
-
Construct a JSONTokener from a string.
- JSONTypes - Interface in org.kordamp.json.xml
-
- JSONUtils - Class in org.kordamp.json.util
-
Provides useful methods on java objects and JSON values.
- JsonValueProcessor - Interface in org.kordamp.json.processors
-
Base interface for custom serialization per property.
- JsonValueProcessorMatcher - Class in org.kordamp.json.processors
-
Base class for finding a matching JsonValueProcessor.
DEFAULT - matches the target class with equals().
- JsonValueProcessorMatcher() - Constructor for class org.kordamp.json.processors.JsonValueProcessorMatcher
-
- JsonVerifier - Class in org.kordamp.json.processors
-
Verifies if a value is a valid JSON value.
- JsonVerifier() - Constructor for class org.kordamp.json.processors.JsonVerifier
-