remove_prop

Removes property with its value from an object.

{% json test_obj %}
  {
    "A": 2,
    "B": 3
  }
{% endjson %}

{{ test_obj | remove_prop: "B" | log }}
{% comment %} Logs { "A": 2 } to the console {% endcomment %}

Last updated