delano / redis-dump

Redis to JSON and nack again
https://rubygems.org/gems/redis-dump
MIT License
818 stars 123 forks source link

Allow loading of redis dumps with binary data. #10

Closed meekmichael closed 11 years ago

meekmichael commented 11 years ago

If the redis dump contains binary data (e.g. serialized data) that appears to be invalid UTF8 to the YAJL parser, it will not load. (https://github.com/delano/redis-dump/issues/7). I've added a "-n" flag that will tell YAJL to ignore "bad utf8" in the case where the user knows that their data is binary in nature.