BOM not skipped when using json:parse(iterator) #602
Labels
confirmed
kind: bug
solution: proposed fix
a fix for the issue has been proposed and waits for confirmation
Milestone
The byte-order mark is not being skipped when I use json:parse(iterator) interface for example:
nlohmann::json::parse(static_cast<const char *>(buffer), static_cast<const char *>(buffer) + nbytes)
It looks like the json::parse(stream) interface does skip the BOM.
Here is a quick fix that seems to work for me:
json.txt
The text was updated successfully, but these errors were encountered: