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

These rules throw an exception on all conflicts. More...

#include <jsonv/algorithm.hpp>

+ Inheritance diagram for jsonv::throwing_merge_rules:

Public Member Functions

virtual value resolve_same_key (path &&current_path, value &&a, value &&b) const override
 
virtual value resolve_type_conflict (path &&current_path, value &&a, value &&b) const override
 

Detailed Description

These rules throw an exception on all conflicts.

Definition at line 329 of file algorithm.hpp.

Member Function Documentation

virtual value jsonv::throwing_merge_rules::resolve_same_key ( path &&  current_path,
value &&  a,
value &&  b 
) const
overridevirtual
Exceptions
std::logic_error

Implements jsonv::merge_rules.

virtual value jsonv::throwing_merge_rules::resolve_type_conflict ( path &&  current_path,
value &&  a,
value &&  b 
) const
overridevirtual
Exceptions
kind_error

Implements jsonv::merge_rules.


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