TWAZI

Read Property From JSON

Extracts a specific property value from a JSON object using a path expression.

Inputs

  • JSON Object required: Source JSON object to read from
  • Property Path required: Path to the desired property (dot notation)
  • Default Value: Value to return if property is not found

Example

{
  "JSON Object": {
    "user": {
      "profile": {
        "name": "John Doe",
        "settings": {
          "theme": "dark"
        }
      }
    }
  },
  "Property Path": "user.profile.settings.theme",
  "Default Value": "light"
}

Outputs

  • Property Value: The value at the specified path
  • Found: Boolean indicating if the property was found
Read property from JSON workflow example

On this page

Edit on GitHub