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

Chris Lamb lamby at debian.org
Wed Jan 24 01:17:54 UTC 2018

Hi Paul,

> > 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.

Mo' options, mo' problems :)


     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk

More information about the Reproducible-builds mailing list