@propensive hey, any easy way how to json Map[String,Any]? It has its use cases (i.e. my use case is writing own string interpolator)
@byFcz Yeah, that's exactly the problem. The compiler needs to know the type of each individual value at compile time.
-
-
@byFcz So you'll need to find the point(s) at which each map value's type is known by the compile, and convert to Json there.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@byFcz e.g. Map("myInt" -> Json(1), "myCaseClass" -> Json(Foo(1, 2, 3))) If you ever have a Map[String, Any], then you've already lost! :(Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.