Json – What's the easiest way to serialize an opaque type with circe
Example: opaque type UserName = String This version is serialized automatically: case class UserName(value: String) extends AnyVal
Example: opaque type UserName = String This version is serialized automatically: case class UserName(value: String) extends AnyVal
do you guys know how to parse an array of json objects but without square brackets { "jsonValue1": "val1", "jsonValue2": [1, 1, 2, 2]} { "jsonValue1": "val1", "jsonValue2": [1, 1, 2, 2]} { "jsonValue1": "val1", "jsonValue2": [1, 1, 2, 2]}…