Flat JSON

Most recent version: v1.1.0

Learn more about this Action in this article.

v1.1.0

Released on 05/22/2025

Bug Fixes

  • Strings aren't unescaped when transforming JSON.

v1.0.0

Released on 02/28/2025

  • Added Flatten level parameter.

  • Added Separator selector.

  • Object arrays now extract each field separately.

  • Added support for fields with default values.

v0.0.3

Released on 07/12/2024

  • Added flatten level.

  • Separator selector included.

  • New implementation for arrays:

from:

{
  "name": "John Doe",
  "age": 30,
  "address": {
    "street": "123 Main St",
    "city": "Anytown",
    "country": "USA"
  },
  "contacts": [
    {
      "type": "email",
      "value": "[email protected]"
    },
    {
      "type": "phone",
      "value": "555-1234"
    }
  ]
}

to:

{
  "name": "John Doe",
  "age": 30,
  "address_street": "123 Main St",
  "address_city": "Anytown",
  "address_country": "USA",
  "contacts[0]_type": "email",
  "contacts[0]_value": "[email protected]",
  "contacts[1]_type": "phone",
  "contacts[1]_value": "555-1234"
}
v0.0.1

Released on 03/25/2024

Initial version.

Last updated

Was this helpful?