Package org.labkey.remoteapi.internal
Class ResponseUtils
java.lang.Object
org.labkey.remoteapi.internal.ResponseUtils
- 
Method SummaryModifier 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- 
deepUnmodifiableMapConvert 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:
- 
- JSONObject.toMap()
 
 
- 
deepUnmodifiableMapMake a thoroughly unmodifiable copy of a Map that was generated by a JSONObject.
 Any nestedMaps orLists will be made unmodifiable.- Parameters:
- map- Map to copy
- Returns:
- Unmodifiable copy of the provided Map
- See Also:
- 
- JSONObject.toMap()
 
 
- 
deepUnmodifiableListMake a thoroughly unmodifiable copy of a List that was generated by a JSONArray.
 Any nestedMaps orLists will also be made unmodifiable.- Parameters:
- list- List to copy
- Returns:
- Unmodifiable copy of the provided Map
- See Also:
- 
- JSONArray.toList()
 
 
 
-