We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dcfc568 + e33ccb4 commit 4576fb4Copy full SHA for 4576fb4
ydb/library/binary_json/write.cpp
@@ -600,7 +600,9 @@ template <typename TOnDemandValue>
600
case simdjson::ondemand::json_type::null: {
601
auto is_null = value.is_null();
602
RETURN_IF_NOT_SUCCESS(is_null.error());
603
- Y_ABORT_UNLESS(is_null.value_unsafe());
+ if (!is_null.value_unsafe()) {
604
+ return simdjson::error_code::N_ATOM_ERROR;
605
+ }
606
callbacks.OnNull();
607
break;
608
}
0 commit comments