p / redis-dump-load

Dump redis databases, load data into redis - in Python
BSD 2-Clause "Simplified" License
175 stars 76 forks source link

Setting -y for output creates invalid json #40

Closed tspicer closed 7 years ago

tspicer commented 8 years ago

When setting -y for the output it seems to create invalid JSON. Removing -y creates valid JSON. JSON without -y can be imported back into Redis. However, JSON created with -y fails to be imported

p commented 8 years ago

I added a test in 6779e601c5bc3a60ce715e and it passes, can you provide an example of what does not properly get serialized with -y?