JSON Voorhees
Killer JSON for C++
jsonv::recursive_merge_rules Class Reference

These rules will recursively merge everything they can and coerce all values. More...

#include <jsonv/algorithm.hpp>

+ Inheritance diagram for jsonv::recursive_merge_rules:

Public Member Functions

virtual value resolve_same_key (path &&current_path, value &&a, value &&b) const override
 Recursively calls merge_explicit with the two values. More...
 
virtual value resolve_type_conflict (path &&current_path, value &&a, value &&b) const override
 Calls coerce_merge to combine the values. More...
 

Detailed Description

These rules will recursively merge everything they can and coerce all values.

Definition at line 341 of file algorithm.hpp.

Member Function Documentation

virtual value jsonv::recursive_merge_rules::resolve_same_key ( path &&  current_path,
value &&  a,
value &&  b 
) const
overridevirtual

Recursively calls merge_explicit with the two values.

Implements jsonv::merge_rules.

virtual value jsonv::recursive_merge_rules::resolve_type_conflict ( path &&  current_path,
value &&  a,
value &&  b 
) const
overridevirtual

Calls coerce_merge to combine the values.

Implements jsonv::merge_rules.


The documentation for this class was generated from the following file: