WindmillWWindmill
Powered by
Lucas HicksL
Windmill•17mo 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"
        }
      ]
    }
  ]
}
{
  "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
arr
array, and interprets it as an array of strings.
image.png
WindmillJoin
3,362Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
henri-c

Weekly kenote to tell you about our latest updates https://discord.com/channels/930051556043276338/1278977038430240813 https://youtube.com/live/2dGd9TdT8xs?feature=share

henri-c · 4d ago

Pyra

### HTTP tracing (EE) Capture HTTP requests made by job scripts as observability spans Features: - View HTTP request traces (method, URL, status, timing) in the job details UI - Auto-instrumentation for Native TypeScript, MITM proxy for other languages - Integrates with external OpenTelemetry collectors changelog: https://www.windmill.dev/changelog/http-tracing docs: https://www.windmill.dev/docs/advanced/instance_settings#http-tracing Additionally jobs memory metrics are now fully OSS!

Pyra · 2w ago

henri-c

First keynote of the year here https://discord.com/channels/930051556043276338/1278977038430240813 🙂

henri-c · 4w ago

Similar Threads

Nested JSON schema required fields
inakiabtIinakiabt / help
3y ago
missing input in flow
loulz0rLloulz0r / help
3y ago
App JSON Schema
fooosieeeFfooosieee / help
2mo ago
AI Generate Invalid Flow JSON
fooosieeeFfooosieee / help
2mo ago