Lucas HicksL
Windmill15mo ago
2 replies
Lucas Hicks

Creating flow input schema from nested JSON

When creating a flow's inputs from JSON, is there any way for windmill to capture properties of an object in array when its not at the first level? For example (which probably makes more sense):
{
  "testarr": [
    {
      "prop_num": 5,
      "prop_str": "string",
      "arr": [
        {
          "num": 5,
          "name": "My name"
        }
      ]
    }
  ]
}

With this JSON, windmill doesn't pick up on properties of objects in the arr array, and interprets it as an array of strings.
image.png
Was this page helpful?