Uses of Class
org.apache.tapestry5.json.JSONArray
-
Packages that use JSONArray Package Description org.apache.tapestry5.internal.json [INTERNAL USE ONLY] support classes for the JSON module; API subject to changeorg.apache.tapestry5.internal.services [INTERNAL USE ONLY] internal service classes; API subject to changeorg.apache.tapestry5.internal.services.ajax [INTERNAL USE ONLY] AJAX support services; API subject to changeorg.apache.tapestry5.json Repackaged, improved (and tested) version of code originally http://github.com/tdunning/open-json Starting in release 5.4,JSONObject
andJSONArray
are serializable.org.apache.tapestry5.services.javascript Support for Javascript (and CSS), including dynamically-added JavaScript and services that manage dynamically-added links to JavaScript (and CSS) assets. -
-
Uses of JSONArray in org.apache.tapestry5.internal.json
Methods in org.apache.tapestry5.internal.json that return JSONArray Modifier and Type Method Description JSONArray
StringToJSONArray. input)
-
Uses of JSONArray in org.apache.tapestry5.internal.services
Methods in org.apache.tapestry5.internal.services with parameters of type JSONArray Modifier and Type Method Description void
DocumentLinker. addInitialization(InitializationPriority priority, moduleName, functionName, JSONArray arguments)
Adds initialization, based on invoking functions exported by JavaScript modules.void
DocumentLinkerImpl. addInitialization(InitializationPriority priority, moduleName, functionName, JSONArray arguments)
void
ModuleInitsManager. addInitialization(InitializationPriority priority, moduleName, functionName, JSONArray arguments)
void
PartialMarkupDocumentLinker. addInitialization(InitializationPriority priority, moduleName, functionName, JSONArray arguments)
void
JSONArrayEventResultProcessor. processResultValue(JSONArray value)
-
Uses of JSONArray in org.apache.tapestry5.internal.services.ajax
Methods in org.apache.tapestry5.internal.services.ajax with parameters of type JSONArray Modifier and Type Method Description void
JavaScriptSupportImpl. functionName, JSONArray parameter)
void
JavaScriptSupportImpl. addInitializerCall(InitializationPriority priority, functionName, JSONArray parameter)
-
Uses of JSONArray in org.apache.tapestry5.json
Methods in org.apache.tapestry5.json that return JSONArray Modifier and Type Method Description static JSONArray
JSONArray. <?> iterable)
Create a new array, and adds all values from the iterable to the array (usingputAll(Iterable)
.JSONArray
JSONArray. getJSONArray(int index)
Returns the value atindex
if it exists and is aJSONArray
.JSONArray
JSONObject. name)
Returns the value mapped byname
if it exists and is aJSONArray
, or throws otherwise.JSONArray
JSONObject. name, JSONArray defaultValue)
Returns the value to which the specified key is mapped and a JSONArray, ordefaultValue
if this JSONObject contains no mapping for the key.JSONArray
JSONObject. names()
Returns an array containing the string names in this object.JSONArray
JSONArray. put(int index, value)
Sets the value atindex
tovalue
, null padding this array to the required length if necessary.JSONArray
JSONArray. value)
Deprecated.The use ofadd(Object)
is encouraged.JSONArray
JSONArray. <?> collection)
Puts all objects from the collection into this JSONArray, usingput(Object)
.Methods in org.apache.tapestry5.json that return types with arguments of type JSONArray Modifier and Type Method Description static <T> <T,?,JSONArray>
JSONCollectors. toArray()
Returns aCollector
that accumulates the input elements into a newJSONArray
.Methods in org.apache.tapestry5.json with parameters of type JSONArray Modifier and Type Method Description JSONArray
JSONObject. name, JSONArray defaultValue)
Returns the value to which the specified key is mapped and a JSONArray, ordefaultValue
if this JSONObject contains no mapping for the key. -
Uses of JSONArray in org.apache.tapestry5.services.javascript
Methods in org.apache.tapestry5.services.javascript with parameters of type JSONArray Modifier and Type Method Description void
JavaScriptSupport. functionName, JSONArray parameter)
Deprecated.Deprecated in 5.4; refactor to use JavaScript modules insteadvoid
JavaScriptSupport. addInitializerCall(InitializationPriority priority, functionName, JSONArray parameter)
Deprecated.Deprecated in 5.4; refactor to use JavaScript modules instead
-