We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b48bdf commit 79e738aCopy full SHA for 79e738a
1 file changed
src/json.cpp
@@ -1116,7 +1116,7 @@ JsonValueTempl<K>* StreamedJsonParser<K>::addNumber(JsonValueTempl<K>* current)
1116
}
1117
1118
if (!asInt || jsonValue.is_undefined()) {
1119
- jsonValue = ssValue.to_double().value_or(std::nan("0"));
+ jsonValue = ssValue.template to_double<false, false>().value_or(std::nan("0"));
1120
1121
1122
if constexpr (!All) {
0 commit comments