Class ResponseUtils
java.lang.Object
org.labkey.remoteapi.internal.ResponseUtils
-
Method Summary
Modifier and TypeMethodDescriptiondeepUnmodifiableList(List<Object> list) deepUnmodifiableMap(Map<String, Object> map) deepUnmodifiableMap(org.json.JSONObject jsonObject) Convert JSON Object to map and make a thoroughly unmodifiable copy of that map.
Any nestedJSONObjects orJSONArrays will be similarly processed.
-
Method Details
-
deepUnmodifiableMap
Convert JSON Object to map and make a thoroughly unmodifiable copy of that map.
Any nestedJSONObjects orJSONArrays will be similarly processed.- Parameters:
jsonObject- Map to copy- Returns:
- Unmodifiable copy of the provided JSONObject.
- See Also:
-
deepUnmodifiableMap
-
deepUnmodifiableList
-