Object Helpers

×

REQUEST FREE TRIAL

Share A Little Information To Request Free Trial

Created with Sketch.
REQUEST FREE TRIAL

The Object Helpers connector allows you to interact with objects.

Operations

Contains

The Contains operation returns true if an object contains a key at the top level, false otherwise.

The Object property allows you to specify the object that the operation should be performed on.

The Key property allows you to specify the object property that the object should have.

Enforce object structure

The Enforce object structure operation defines a JSON structure which the output object must adhere to. For instance, given the Object {"name":"Tray"} and the Structure {"surname","anyValue"} the result would be {"name":"Tray", "surname":null} as the operation forces Object to have the "surname" property even with a null value.

The Object property allows you to specify the object that should adhere to a structure.

The Structure property allows you to specify the structure JSON structure that the output object must adhere to.

The property type for Object and Structure can either be Object or String (with valid JSON).

Equals

The Equals operation allows you to compare two objects.

The Object property allows you to specify the first object.

The Object two property allows you to specify the first object.

Get value by key

The Get value by key operation returns the value of an object property.

The Object property allows you to specify the object that the operation should be performed on.

The Key property allows you to specify by which object property the value should be returned from. It can also be a path.

JSON Parse

The JSON Parse operation creates an object by parsing a valid JSON string.

The Text property allows you to specify the JSON string.

JSON Stringify

The JSON Stringify operation transforms a JSON object into a string.

The JSON property allows you to specify the JSON object.

Merge two objects

The Merge two objects operation merges two objects. If there is any property specified in both object, the one specified in the second will be used. For instance, given the Object {"name":"Foo", "surname":"io"} and the Object two {"name":"Tray"}, the result would be {"name":"Tray", "surname":"io"}.

The Object allows you to specify the first object.

The Object two property allows you to specify the second object.

The property type for Object and Object two can either be Object or String (with valid JSON).

Last updated 19th March 2018

REQUEST FREE TRIAL

Share A Little Information To Request Free Trial

Created with Sketch.