A reference document listing built-in convenience functions to support data transformation in expressions for objects.
isEmpty(): Boolean #
Checks if the Object has no key-value pairs.
merge(object: Object): Object #
Merges two Objects into a single Object using the first as the base Object. If a key exists in both Objects, the key in the base Object takes precedence.
The Object to merge with the base Object.
hasField(fieldName: String): Boolean #
Checks if the Object has a given field. Only top-level keys are supported.
The field to search for.
removeField(key: String): Object #
Removes a given field from the Object
The field key of the field to remove.
removeFieldsContaining(value: String): Object #
Removes fields with a given value from the Object.
The field value of the field to remove.
keepFieldsContaining(value: String): Object #
Removes fields that do not match the given value from the Object.
The field value of the field to keep.
compact(): Object #
Removes empty values from an Object.
urlEncode(): String #
Transforms an Object into a URL parameter list. Only top-level keys are supported.