Contact Free trial Login

Objects (dw::core::Objects)

This module contains helper functions to work with Objects.

To use this module, you must import it to your DataWeave code, for example, by adding the line import * from dw::core::Objects to the header of your DataWeave script.

Functions

Name Description

divideBy

Breaks up an object into sub-objects that contain the specified number of key-value pairs.

entrySet

Returns an array of key-value pairs that describe the key, value, and any attributes in the input object.

keySet

Returns an array of key names from an object.

mergeWith

Appends any key-value pairs from a source object to a target object.

nameSet

Returns an array of keys from an object.

valueSet

Returns an array of the values from key-value pairs in an object.

We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used and to tailor advertising. You can read more and make your cookie choices here. By continuing to use this site you are giving us your consent to do this.