- Ruby 2.3.x
- Rake
Just run rake build
.
rake test
# help
ruby bin/jsonrehasher --help
# rehash a file
ruby bin/jsonrehasher --file sample_input/input.json
# rehash from stdin
ruby bin/jsonrehasher --data '{"a.b.c.d": 1}'
Algo is not efficient at all, could be done much better. In fact I think It is horrible.