Class JsonUtils
java.lang.Object
org.diabetestechnology.drh.service.http.util.JsonUtils
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JsonUtils
public JsonUtils()
-
-
Method Details
-
jsonStringToMapOrList
Converts a JSON string to either a List or Map depending on if it's an array or object- Parameters:
jsonString
- The JSON string to convert- Returns:
- Object - Either a List or Map depending on input JSON structure
-
toJson
-