I am a new user of circe api, currently I use following code to get an element from the JSON document:
((json.getOrElse(Json.Null) \\ name head) asString) get
It look using more code then it should be, if there better suggestion?
I am a new user of circe api, currently I use following code to get an element from the JSON document:
((json.getOrElse(Json.Null) \\ name head) asString) get
It look using more code then it should be, if there better suggestion?