beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
ObjectGetArray
Ops.Json.ObjectGetArray_v2
Namespace: Ops.Json
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 (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 Documentationcancel save
ObjectGetArrayByPath - Example:


Credits


Changelog


created op
2019-05-14 - pandur

Ops.Json.ObjectGetArray2 renamed to Ops.Json.ObjectGetArray_v2
2019-06-13 - pandur

Examples using ObjectGetArray_v2

Public Patches using ObjectGetArray_v2