Skip to main content

Create JArray

The Create JArray component is used to create a JArray object by providing a string representation of the array.

Parameters

JArray String : Insert the string representation of the JArray. This parameter expects a string in the format of a valid JSON array, such as ["value1", "value2", "value3"]. Each value can be of any valid JSON data type, including strings, numbers, booleans, objects, or arrays. Type : String.

Result : Returns the created JArray. This output parameter will contain a JArray object with the elements specified in the input string. Type: JArray.

Usage

To use the Create JArray component in your workflow, follow these steps:

Drag and drop the Create JArray component into your sequence or workflow.

Configure the component by providing the necessary input:

Enter the string representation of the JArray in the JArray String parameter. Make sure the string is formatted as a valid JSON array.

Continue building your sequence or workflow by adding other components or actions that require the JArray created by the Create JArray component.

Use the JArray created by the Create JArray component in subsequent components to perform operations or manipulations on the JSON data.

Access the created JArray by referencing the Result output parameter of the Create JArray component.

By utilizing the Create JArray component, you can easily create JArray objects based on string representations of JSON arrays, enabling you to work with and manipulate JSON data within your workflow or application.