Uses of Class
org.klojang.util.JSONObject
Packages that use JSONObject
Package
Description
Utility classes for working with strings, numbers, arrays, collections, etc.
-
Uses of JSONObject in org.klojang.util
Methods in org.klojang.util that return JSONObjectModifier and TypeMethodDescriptionJSONObject.addElement
(String path, Object element) Appends the specified element to theCollection
found at the specified path.JSONObject.addElement
(Path path, Object element) Appends the specified element to theCollection
found at the specified path.Returns aJSONObject
for the parent map of the map currently being edited.static JSONObject
JSONObject.empty()
Creates a newJSONObject
.Returns aJSONObject
for the map at the specified path.Returns aJSONObject
for the map at the specified path.Jumps to another branch in the tree of nested maps.Jumps to another branch in the tree of nested maps.static JSONObject
Creates aJSONObject
that starts out with the entries in the specified map.JSONObject.root()
Takes you back to the root map.Sets the specified path to the specified value.Sets the specified path to the specified value.Sets the specified key to the specified value.Unsets the value of the specified path.Unsets the value of the specified path.