bhollis/jsonview

Example.json illegally starts with BOM

Closed this issue · 2 comments

The example.json file shown on the web page and used in the tests is not valid JSON. It starts with a BOM, which the JSON RFC explicitly forbids (see https://tools.ietf.org/html/rfc7159#section-8.1).

The problem is that some of our users used your example file with our software and then claimed our software is faulty because it correctly refused to parse the file (the Jackson library for a matter of fact). This caused several hours of debugging on our end just to find out the input was garbage.