Uses of Class
laas.openrobots.ontology.json.JSONObject
Packages that use JSONObject
Package
Description
Stores some type and serialization-related classes.
-
Uses of JSONObject in laas.openrobots.ontology.json
Methods in laas.openrobots.ontology.json that return JSONObjectModifier and TypeMethodDescriptionJSONObject.accumulate
(String key, Object value) Accumulate values under a key.Append values to the array under a key.JSONArray.getJSONObject
(int index) Get the JSONObject associated with an index.JSONObject.getJSONObject
(String key) Get the JSONObject value associated with a key.Increment a property of a JSONObject.JSONArray.optJSONObject
(int index) Get the optional JSONObject associated with an index.JSONObject.optJSONObject
(String key) Get an optional JSONObject associated with a key.Put a key/boolean pair in the JSONObject.Put a key/double pair in the JSONObject.Put a key/int pair in the JSONObject.Put a key/long pair in the JSONObject.Put a key/value pair in the JSONObject.JSONObject.put
(String key, Collection value) Put a key/value pair in the JSONObject, where the value will be a JSONArray which is produced from a Collection.Put a key/value pair in the JSONObject, where the value will be a JSONObject which is produced from a Map.Put a key/value pair in the JSONObject, but only if the key and the value are both non-null, and only if there is not already a member with that name.Put a key/value pair in the JSONObject, but only if the key and the value are both non-null.JSONArray.toJSONObject
(JSONArray names) Produce a JSONObject by combining a JSONArray of names with the values of this JSONArray.Methods in laas.openrobots.ontology.json with parameters of type JSONObjectModifier and TypeMethodDescriptionstatic String[]
JSONObject.getNames
(JSONObject jo) Get an array of field names from a JSONObject.Constructors in laas.openrobots.ontology.json with parameters of type JSONObjectModifierConstructorDescriptionJSONObject
(JSONObject jo, String[] names) Construct a JSONObject from a subset of another JSONObject. -
Uses of JSONObject in laas.openrobots.ontology.types
Constructors in laas.openrobots.ontology.types with parameters of type JSONObject