ObjectGetArray_v2 Op

ObjectGetArray

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


Full Name
  • Ops.Json.ObjectGetArray_v2
Visibility
  • Core Op - visible for everyone
License
  • MIT
AuthorgithubMaintained by Team


INPUT PORTS


data (Object)

The Json-object you want to extract an array from

key (String)

The key of the array

OUTPUT PORTS


result (Array)

An Array

Length (Number)

The length of the array


 

Patches using ObjectGetArray_v2

  • Examples
  • Public
  • My Patches

Changelog


created opuser avatarpandur - 2019-05-14 11:57
improvementreturn empty array when not founduser avatarstephan - 2025-05-08 11:16