Lava Filters - AllKeysFromDictionary
Category:Arrays
Description:Retrieves all keys that exist in the dictionary object and returns them in an array.
Input: "Object": {
"Id": 23,
"FirstName": "Ted",
"LastName": "Decker"
}
Lava: {% assign keys = Object | AllKeysFromDictionary %}
{% for key in keys %}
- {{ key }}
{% endfor %}