X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=scripts%2Fjsondiff.py;h=00976cad3c74729b33eecd1a3ba58fae83f8794c;hb=9a2267dd2312afe47cdbfa002355134ae4d88489;hp=eef742d3e27f7051a894906b3d0b13564c8864e1;hpb=eb7f1bd47d9c2ea0967b6c77322a3f0ee0983542;p=apitrace diff --git a/scripts/jsondiff.py b/scripts/jsondiff.py index eef742d..00976ca 100755 --- a/scripts/jsondiff.py +++ b/scripts/jsondiff.py @@ -127,7 +127,7 @@ class Dumper(Visitor): self._write(']') def visit_value(self, node): - self._write(repr(node)) + self._write(json.dumps(node))