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

ObjectGetArray
op id:a150e057-1482-4050-b316-86367f9a01e5
Returns an array from a JSON-object

summary (oneliner)

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],
    ...
}

doc

youtube id

collections

related ops

Inputs

data (Object)

The Json-object you want to extract an array from


key (Number)

The key of the array


Outputs

result (Array)

A native array


Length (Number)

The length of the array


Credits

Caught a mistake or want to contribute to the documentation?


Edit this documentcancel save

Examples using ObjectGetArray

Public Patches using ObjectGetArray