org.camunda.bpm.engine.impl.util
Class JsonUtil
java.lang.Object
org.camunda.bpm.engine.impl.util.JsonUtil
public final class JsonUtil
- extends Object
- Author:
- Sebastian Menski
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JsonUtil
public JsonUtil()
jsonObjectAsMap
public static Map<String,Object> jsonObjectAsMap(JSONObject jsonObject)
- Converts a
JSONObject to a Map. It supports nested JSONObject
and JSONArray.
- Parameters:
jsonObject - the json object to convert
- Returns:
- the resulting map
jsonArrayAsList
public static List<Object> jsonArrayAsList(JSONArray jsonArray)
- Converts a
JSONArray to a List. It supports nested JSONObject
and JSONArray.
- Parameters:
jsonArray - the json array to convert
- Returns:
- the resulting map
Copyright © 2014 camunda services GmbH. All rights reserved.