| 478 | } |
| 479 | |
| 480 | unsigned long long TJsonValue::GetUIntegerSafe() const { |
| 481 | if (!IsUInteger()) { |
| 482 | ythrow TJsonException() << "Not an unsigned integer"; |
| 483 | } |
| 484 | return GetUInteger(); |
| 485 | } |
| 486 | |
| 487 | double TJsonValue::GetDoubleSafe() const { |
| 488 | if (!IsDouble()) { |
no test coverage detected