| 81 | } |
| 82 | |
| 83 | std::string make_range_json(int start, int end) { |
| 84 | std::string result = "["; |
| 85 | for (int i = start; i <= end; ++i) { |
| 86 | if (i > start) result += ","; |
| 87 | result += std::to_string(i); |
| 88 | } |
| 89 | result += "]"; |
| 90 | return result; |
| 91 | } |
| 92 | |
| 93 | const auto no_change = std::nullopt; |
| 94 |