Skip to content

parser: Ignore UTF-8 BOM if necessary

Jan-Michael Brummer requested to merge handle-utf8-bom into master

According to JSON spec BOM shouldn't be part of the JSON data, but also recommends to tolerate files with a BOM marker. As this is common in several Windows JSON generators, handle it graceful in json-glib and skip it for UTF-8 BOM.

Fixes: #56 (closed)

Merge request reports