LogoLogo
WebsiteBlogLogin
  • Onum Docs
  • Use Cases
  • Videos
  • Release Notes
  • Accumulator
  • Amazon GenAI
  • Anonymizer
  • BLIP-2
  • Bring Your Own Code
  • Cog
  • Conditional
  • Field Generator
  • Field Transformation
  • Flat JSON
  • For Each
  • Google DLP
  • Google GenAI
  • Group By
  • HTTP Request
  • JSON Transformation
  • JSON Unroll
  • Llama
  • Lookup
  • Math Expression
  • Message Builder
  • OCSF
  • Parser
  • Redis
  • Replicate
  • Sampling
  • Sigma Rules
  • Unique
Powered by GitBook
On this page

Was this helpful?

Export as PDF

Flat JSON

Most recent version: v1.1.0

PreviousField TransformationNextFor Each

Last updated 15 days ago

Was this helpful?

Learn more about this Action in .

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": "john.doe@example.com"
    },
    {
      "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": "john.doe@example.com",
  "contacts[1]_type": "phone",
  "contacts[1]_value": "555-1234"
}
v0.0.1

Released on 03/25/2024

Initial version.

this article