The library can not parse JSON generate by Chome DevTools Protocol #3903
Labels
kind: bug
solution: wontfix
the issue will not be fixed (either it is impossible or deemed out of scope)
Description
The library throws exception when I try to parse JSON message produced by Chrome browser via Chrome DevTools protocol. I have no idea whether Chrome breaks any standards or not, but Chrome is standard de-facto, so at least any flag that will make the library compatible with Chrome may be good idea. I also can visualize the JSON with Visual Studio, Notepad++ and some other tools, so this format is OK for other widely used tools.
Reproduction steps
I add the code sample (Visual Studio 2022 native unit test). I just call
json::parse
for some JSON file generated by Chrome browser.Expected vs. actual results
I expect that if Chrome, Visual Studio, Notepad++ can parse the JSON,
nlohmann::json
should also supply a way to do so. You can download the file that contains target JSON here: data.jsonMinimal code example
Error messages
Compiler and operating system
Visual Studio 2022, Windows 11 Pro.
Library version
3.11.2
Validation
develop
branch is used.The text was updated successfully, but these errors were encountered: