Bug#888112: diffoscope: compare JSON files using Python jsondiff module
pabs at debian.org
Wed Jan 24 02:18:44 UTC 2018
On Wed, 2018-01-24 at 06:47 +0530, Chris Lamb wrote:
That isn't going to work for UTF-8 JSON, I suggest using the MIME type
instead of the file type string.
$ curl -s 'https://salsa.debian.org/api/v4/users/1894' > user
$ file user
user: UTF-8 Unicode text, with very long lines, with no line terminators
$ file --mime-type user
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: This is a digitally signed message part
More information about the Reproducible-builds