@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)
-
-
Replying to @propensive
@byFcz Careful when extracting `Any` though, as it means your implementation becomes backend-dependent. I'd go with `.as[Map[String,Json]]`.1 reply 0 retweets 0 likes -
Replying to @propensive
@propensive I need the serialization, i.e. json"""{"something":${Map("a"->1,"b"->"string")}}""" - am I'm missing something?1 reply 0 retweets 0 likes -
Replying to @byFcz
@propensive I've got in a case class actually, like case class A(someParam: String, mapParam: Map[String,Any]) and then using it in json""2 replies 0 retweets 0 likes -
Replying to @propensive
@propensive Compiling Map[String,Any](...) mapValues Json(_) says "diverging implicit expansion" (interpolator parts are returned as Any)4 replies 0 retweets 0 likes
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.