Skip to main content

JSON: Omit

Remove several top-level keys from an incoming JSON object in one call. Missing keys are ignored. Use JSON::DeleteKey when you only need to drop a single field.

Example
Keys: ["internal", "secret"]
Input: {"id": 1, "name": "alice", "internal": true, "secret": "x"}
Output: {"id": 1, "name": "alice"}

Parameters

Keys

List of top-level keys to remove. Nested paths are not supported. The list is optional: an empty list passes the object through unchanged.

Input

JSON Elementrequired

JSON object to operate on. The connector also accepts the Object type. Any non-object input (array, string, number, ...) fails the step with an InvalidInputType error.

Output

JSON Element
The same object minus the listed keys.