Add support for JSON
Created by: hugoabonizio
I've been working on a CLI for Vuash written in Crystal, you can check it here. It's still a WIP, depending on this support.
Following #93, I added JSON support to
messages#destroy actions to make communication with CLI easier. WDYT?
For now, there's a limitation where messages created by the website and CLI aren't interchangeable. I think this is due to different cipher algorithms, or the lacking of IV. The Crystal code is really close to Ruby, so it's easy to understand, and I would appreciate some feedback.