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 https://github.com/tdunning/open-json Starting in release 5.4,JSONObjectandJSONArrayare 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 JSONArrayStringToJSONArray. coerce(java.lang.String 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 voidDocumentLinker. addInitialization(InitializationPriority priority, java.lang.String moduleName, java.lang.String functionName, JSONArray arguments)Adds initialization, based on invoking functions exported by JavaScript modules.voidDocumentLinkerImpl. addInitialization(InitializationPriority priority, java.lang.String moduleName, java.lang.String functionName, JSONArray arguments)voidModuleInitsManager. addInitialization(InitializationPriority priority, java.lang.String moduleName, java.lang.String functionName, JSONArray arguments)voidPartialMarkupDocumentLinker. addInitialization(InitializationPriority priority, java.lang.String moduleName, java.lang.String functionName, JSONArray arguments) -
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 voidJavaScriptSupportImpl. addInitializerCall(java.lang.String functionName, JSONArray parameter)voidJavaScriptSupportImpl. addInitializerCall(InitializationPriority priority, java.lang.String 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 JSONArrayJSONArray. from(java.lang.Iterable<?> iterable)Create a new array, and adds all values from the iterable to the array (usingputAll(Iterable).JSONArrayJSONArray. getJSONArray(int index)Returns the value atindexif it exists and is aJSONArray.JSONArrayJSONObject. getJSONArray(java.lang.String name)Returns the value mapped bynameif it exists and is aJSONArray, or throws otherwise.JSONArrayJSONObject. getJSONArrayOrDefault(java.lang.String name, JSONArray defaultValue)Returns the value to which the specified key is mapped and a JSONArray, ordefaultValueif this JSONObject contains no mapping for the key.JSONArrayJSONObject. names()Returns an array containing the string names in this object.JSONArrayJSONArray. put(int index, java.lang.Object value)Sets the value atindextovalue, null padding this array to the required length if necessary.JSONArrayJSONArray. put(java.lang.Object value)Deprecated.The use ofadd(Object)is encouraged.JSONArrayJSONArray. putAll(java.lang.Iterable<?> 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> java.util.stream.Collector<T,?,JSONArray>JSONCollectors. toArray()Returns aCollectorthat accumulates the input elements into a newJSONArray.Methods in org.apache.tapestry5.json with parameters of type JSONArray Modifier and Type Method Description JSONArrayJSONObject. getJSONArrayOrDefault(java.lang.String name, JSONArray defaultValue)Returns the value to which the specified key is mapped and a JSONArray, ordefaultValueif 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 voidJavaScriptSupport. addInitializerCall(java.lang.String functionName, JSONArray parameter)Deprecated.Deprecated in 5.4; refactor to use JavaScript modules insteadvoidJavaScriptSupport. addInitializerCall(InitializationPriority priority, java.lang.String functionName, JSONArray parameter)Deprecated.Deprecated in 5.4; refactor to use JavaScript modules instead
-