ScalaJSを使ってブラウザ上のみでJSONからMessagePackに変換するやつを作った - xuwei-k's blog
http://xuwei-k.github.io/scalajspack/