Class DataFunctionUtils
java.lang.Object
com.flowable.platform.common.el.data.DataFunctionUtils
Utility methods for JSON object manipulation, used by the
flw.data EL resolver.- Author:
- Tijs Rademakers
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectaddProperty(Object jsonObj, String propertyName, Object value, org.flowable.common.engine.impl.json.VariableJsonMapper mapper) protected static org.flowable.common.engine.impl.json.FlowableObjectNodeasObjectNode(Object value) static Objectstatic booleanhasProperty(Object jsonObj, String propertyPath) protected static booleanjsonValueEquals(org.flowable.common.engine.impl.json.FlowableJsonNode jsonValue, Object compareValue) static Objectstatic Objectpick(Object jsonObj, List<String> propertyNames, org.flowable.common.engine.impl.json.VariableJsonMapper mapper) protected static voidputValue(org.flowable.common.engine.impl.json.FlowableObjectNode node, String propertyName, Object value) static ObjectremoveProperty(Object jsonObj, String propertyName, org.flowable.common.engine.impl.json.VariableJsonMapper mapper) static ObjectremovePropertyWithValue(Object jsonObj, Object valueToRemove, org.flowable.common.engine.impl.json.VariableJsonMapper mapper)
-
Constructor Details
-
DataFunctionUtils
public DataFunctionUtils()
-
-
Method Details
-
hasProperty
-
compact
-
pick
-
keys
-
removeProperty
-
removePropertyWithValue
-
addProperty
-
merge
-
putValue
-
jsonValueEquals
protected static boolean jsonValueEquals(org.flowable.common.engine.impl.json.FlowableJsonNode jsonValue, Object compareValue) -
asObjectNode
-