| 19800 | return m_value.array->at(idx); |
| 19801 | } |
| 19802 | JSON_CATCH (std::out_of_range&) |
| 19803 | { |
| 19804 | // create better exception explanation |
| 19805 | JSON_THROW(out_of_range::create(401, "array index " + std::to_string(idx) + " is out of range")); |
| 19806 | } |
| 19807 | } |
| 19808 | else |
| 19809 | { |