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

this op is a OLD Version!

it will not receive any updates

see other versions: v0 v2


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

issues

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


Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

Credits


Examples using ObjectGetArray

Public Patches using ObjectGetArray