public class JsonUtils
extends Object
| Modifier and Type | Method and Description |
|---|---|
static java.util.Map<String,String> |
parseJSONKeyValueMap(String jsonString)
Parses the given JSON string into a map of key-value pairs.
|
public static java.util.Map<String,String> parseJSONKeyValueMap(String jsonString)
The JSON string should be in the format:
{"key1": "value1", "key2": "value2", ...}
where both keys and values are strings.jsonString - The JSON string to parse