Parse JSON from String

Last updated on May 30, 2023
Description: Parse JSON string to a JSON object.
Available Filters: Event Filters:
- Event Type
- Event Field

Field Filters:
- Field Name
- Field Value
Settings: None.
Transformation Considerations: None.

Sample Transformation

Scenario: Convert the JSON string values in the category field of all Events of the agents Event Type to JSON fields.

Filters:

  • Event Type = agents
  • Fields = All fields with name = category

Settings:
None.

Parse JSON from String settings

Result: When you test the Transformation, the category JSON string is changed to a JSON object with fields.

JSON from String

If we further transform the output through the Flatten JSON Transformation, we get separate JSON fields as the output:

Combo with flatten JSON


Revision History

Refer to the following table for the list of key updates made to this page:

Date Release Description of Change
Jan-04-2023 NA Enhanced the content for clarity.
Nov-10-2022 NA Created as a new document.

Tell us what went wrong