I have trouble to convert scala struct to json. I use library json4s.
val asanaList = Seq(("007", 536), ("008", 888))
println(compact(render(asanaList)))
The result is:
[{"007":536},{"008":888}]
I need something like:
[["007",536],["008",888]]
This example don't work either:
val asanaList = Seq(Seq("007", 536), Seq("008", 888))