Bug#888112: diffoscope: compare JSON files using Python jsondiff module

Paul Wise pabs at debian.org
Wed Jan 24 00:54:45 UTC 2018


On Wed, 2018-01-24 at 05:16 +0530, Chris Lamb wrote:

> I wonder how sensible it would be to, say, slurp the first 100 bytes and see
> whether we start with a "{" (or some other heuristic) and, if so, try and
> parse the file as JSON etc.

I think it would make diffoscope very slightly more useful if it could
fill in the gaps in MIME type detection for this and other cases.
If it turns out to be too expensive then it could have an option.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20180124/1a1b594c/attachment.sig>


More information about the Reproducible-builds mailing list