| 471 | } |
| 472 | |
| 473 | long long TJsonValue::GetIntegerSafe() const { |
| 474 | if (!IsInteger()) { |
| 475 | ythrow TJsonException() << "Not an integer"; |
| 476 | } |
| 477 | return GetInteger(); |
| 478 | } |
| 479 | |
| 480 | unsigned long long TJsonValue::GetUIntegerSafe() const { |
| 481 | if (!IsUInteger()) { |
nothing calls this directly
no test coverage detected