Skip to main content

Quantela platform user manual

List of Dict to Two-D List

Description

Convert an array of JSON objects to an array of arrays. For example, the array of objects below:

[
  {"Name":"A","Age":"43","State":"CA"},
  {"Name":"B","Age":"23","State":"VA"},
  {"Name":"C","Age":"24","State":"NY"}
]

will be converted to this array of arrays:

[
  ["Name","Age","State"],
  ["A","43","CA"],
  ["B","23","VA"],
  ["C","24","NY"]
]

Input

JSON array of objects

Output

JSON array of arrays