gtopt/json/json_right_bound_rule.hpp file

JSON serialization for RightBoundRule and RightBoundSegment.

All fields are nullable in JSON (missing ≡ use C++ default). A custom constructor_t converts the nullable parse results back to non-optional RightBoundRule members via value_or().

Namespaces

namespace daw
namespace daw::json

Classes

template<>
struct daw::json::json_data_contract<RightBoundRule>
template<>
struct daw::json::json_data_contract<RightBoundSegment>
struct daw::json::RightBoundRuleConstructor
Constructs RightBoundRule from nullable JSON fields, applying defaults.