Skip to main content
Version: Next

Omit Object

Enables to exclude object's properties

Description

Creates an object composed of the property paths of the source object that are not omitted.

Example:

  • inputs

    • source = { "a": 1, "b": "2", "c": 3 }
    • paths = ["a", "c"]
  • outputs

    • result = { "b": "2" }

Inputs

  • Source (Object): JSON object or string
  • Paths (Object): The property paths to omit. Can be string or array of strings

Outputs

  • Result (Object): New updated object
  • Error Flow (Error Flow): Triggered by providing incorrect json