beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

ObjectGetArray_v2 Op

Ops.Json.ObjectGetArray_v2


ObjectGetArray
Namespace: Ops.Json

Op author: pandur

Returns an array from a JSON-object


Can be used e.g. for third-party API requests

For example if you want to have the array myArr, you would pass in the JSON-object as well as the array-key myArr

{ "myArr": [1, 3, 5, 7], ... }



Inputs

data (Object)

The Json-object you want to extract an array from

key (String)

The key of the array

Outputs

result (Array)

An Array

Length (Number)

The length of the array

Caught a mistake or want to contribute to the documentation?

Edit Documentation 

Patches using ObjectGetArray_v2

Changelog


created op
2019-05-14 - pandur
Ops.Json.ObjectGetArray2 renamed to Ops.Json.ObjectGetArray_v2
2019-06-13 - pandur