Between 1.35 and 2.0.0 a regression was introduced, so that the output as indicated in the readme is no longer generated and an extra, unnecessary space is inserted between : and ".
The correct output as in the readme for print(ujson.dumps({"foo": "bar"}, indent=4)) is:
but since 2.0 the following is generated, which makes comparison (using diff) with JSON files generated with the still correct older version very difficult:
Between 1.35 and 2.0.0 a regression was introduced, so that the output as indicated in the readme is no longer generated and an extra, unnecessary space is inserted between
:and".The correct output as in the readme for
print(ujson.dumps({"foo": "bar"}, indent=4))is:but since 2.0 the following is generated, which makes comparison (using diff) with JSON files generated with the still correct older version very difficult: