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
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-

Reply via email to