| 9888 | return m_value.array->at(idx); |
| 9889 | } |
| 9890 | JSON_CATCH (std::out_of_range&) |
| 9891 | { |
| 9892 | // create better exception explanation |
| 9893 | JSON_THROW(out_of_range::create(401, "array index " + std::to_string(idx) + " is out of range")); |
| 9894 | } |
| 9895 | } |
| 9896 | else |
| 9897 | { |