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

Chris Lamb lamby at debian.org
Wed Jan 24 02:45:57 UTC 2018


Hi pabs,

> That isn't going to work for UTF-8 JSON, I suggest using the MIME type
> instead of the file type string.

  https://anonscm.debian.org/git/reproducible/diffoscope.git/commit/?id=f7ced27f52b974b8dac3354b3145637e3bc28f24

> I would suggest also checking for '[' characters (from JSON arrays).

  https://anonscm.debian.org/git/reproducible/diffoscope.git/commit/?id=de1abeae19067539c8d45758e657634762589451

:)


Regards,

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



More information about the Reproducible-builds mailing list