$ echo "a/b" | rosie match -o json '.*' {"type":"*","s":1,"e":4,"data":"a\/b"} $
See https://github.com/mpx/lua-cjson/issues/62