| 1649 | } |
| 1650 | |
| 1651 | byte_string_view as_byte_string_view() const |
| 1652 | { |
| 1653 | auto result = try_as_byte_string_view(); |
| 1654 | if (!result) |
| 1655 | { |
| 1656 | JSONCONS_THROW(conv_error(result.error().code())); |
| 1657 | } |
| 1658 | return *result; |
| 1659 | } |
| 1660 | |
| 1661 | int compare(const basic_json& rhs) const noexcept |
| 1662 | { |
no test coverage detected