I tried converting Map[String, Map[String, Any]] in Scala to JSON but since they have nested maps so unable to do it. Is there a way to do it? I tried looking at this link but it converts everything to string and converts a list as "List(...)". Any ideas how to go about this? I am even fine with solutions of Map[String, Map[String, String]].
Thanks. I also saw that one can do compact(render(decompose(nestedMap))). Here I am talking about the netliftweb.json library