userver: userver/formats/common/merge.hpp File Reference
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
merge.hpp File Reference

Detailed Description

Add to original new non-object elements from patch (overwriting the old ones, if any) and merge object elements recursively.

Definition in file merge.hpp.

Go to the source code of this file.

Namespaces

namespace  formats
 Value formats representation, parsing and serialization.
 
namespace  formats::common
 Common utilities for all the formats.
 

Functions

template<typename Value>
void formats::common::Merge (typename Value::Builder &original, const Value &patch)
 Add to original new non-object elements from patch (overwriting the old ones, if any) and merge object elements recursively.