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