Lava Filters - RemoveFromDictionary

Category:Arrays

Description:Removes the specified key from a dictionary of keys and values.
Input: "Object": { "Id": 23, "FirstName": "Ted", "LastName": "Decker" }
Lava: {% assign data = Object | RemoveFromDictionary:'FirstName' %} {{ data | ToJSON }}
Output: { "Id": 23, "LastName": "Decker" }