JSON Remove Key
JSON Remove Key is an action that takes a JSON object or a list of objects and a key as input and returns the input object with the input key removed from it.
This action can be useful for deleting unwanted or sensitive data from a JSON object before sending it to another service or storing it in a database. The action does not modify the original object, but creates a copy of it with the key removed. If the input object does not have the input key, the action returns the object unchanged. If the input is not a valid JSON object or a list of objects, the action raises an error.
Inputs
Name | Type | Description |
---|---|---|
JSON Object | Object | {"key":"value"} OR [{"key":"value"},{"key":"value"}] |
Key To remove | String | The object key which is need to remove |
Outputs
Name | Type | Description |
---|---|---|
Success | Boolean | Success |
Data | Object | The input object or list without the Key To remove |
Updated 12 months ago