The Filter card will remove keys with no values associated (e.g. null, “”, {}) from an object. If the object may contain other objects, use the Clear Empty card instead.

Input Fields

  • object:  the object you want to operate on

Output Fields

  • output: your input object without empty keys

Examples

Input object:  {“Name”:“Emily”, “Age”:“”, “Settings”: {“test”:{ }, “test2”:“value2”}}
Output object:  {“Name”:“Emily”, “Settings”:{“test”:{ },“test2”:“value2”}}

If you want to remove empty keys from sub-objects, use the Clear Empty function instead.