Tag ruby

Minifying JSON with Ruby

How to take a pretty-printed JSON string and replace it with a minifed JSON string using Ruby.