class

Stacker::Runtime::Function::MergeDict

Inherits Reference / Object

{% set hash = {"foo": "bar"} %}
{% do merge_dict(hash, {"bar": "baz"}) %} #=> {"foo": "bar", "bar": "baz"}

Class methods

deep_merge_crinja!(hash, other_hash)

Recursively merge two Crinja::Value object.

It merges other_hash in hash and returns the modified hash.

Source
to_crinja_value(value)

Convert any value in Crinja::Value.

Source