I didn't expect (neither from experience, nor from the documentation) that the float string representation would be altered according to the locale when feeded into the SAX parser.
I understand, why it has to be altered internally, but I'd expect the original string in the callback.
Done.
Note that you need the "de_DE.utf8" locale in your system. Alternatively use any other locale with something else than a "." as decimal separator.
Description
I didn't expect (neither from experience, nor from the documentation) that the float string representation would be altered according to the locale when feeded into the SAX parser. I understand, why it has to be altered internally, but I'd expect the original string in the callback.
Reproduction steps
LC_NUMERIC=de_DE.UTF-8
{ "aFloat": 42.0 }
Expected vs. actual results
Expected: 42.0 Actual: 42,0
Minimal code example
g++-12 -o jsontest -I /path/to/nlohmann_json-src/single_include/ --std=c++20 jsontest.cpp
Error messages
No response
Compiler and operating system
Linux/gcc-12, Windows/MSVC19.35
Library version
3.11.2
Validation
develop
branch is used.