Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 930 Bytes

File metadata and controls

29 lines (20 loc) · 930 Bytes
page_title yaml_deep_merge function - lara-utils
subcategory
description Deep merge YAML-encoded objects

function: yaml_deep_merge

Overview

Functionally similar to provider::lara-utils::deep_merge(), provider::lara-utils::yaml_deep_merge() specializes in merging YAML structures represented as strings. It parses the input YAML strings into maps, performs a deep merge according to specified strategies, and then serializes the merged result back into a YAML string.

Signature

yaml_deep_merge(objects list of string, options dynamic...) dynamic

Arguments

  1. objects (List of String) List of YAML strings to merge
  1. options (Variadic, Dynamic) Merging options