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().