get map from jsonObject. @param jsonObject key-value pairs json @param key @return if jsonObject is null, return null return JSONUtils#parseKeyAndValueToMap(String)
(JSONObject jsonObject, String key)
| 550 | * </ul> |
| 551 | */ |
| 552 | public static Map<String, String> getMap(JSONObject jsonObject, String key) { |
| 553 | return JSONUtils.parseKeyAndValueToMap(JSONUtils.getString(jsonObject, key, null)); |
| 554 | } |
| 555 | |
| 556 | /** |
| 557 | * get map from jsonData. |
nothing calls this directly
no test coverage detected