JSON Data Conversion for Rest Calls in Scala -
i have worked on rest development spring. spring library takes care of json data conversion in request body in response. wondering approach dispatch, scala rest library, convert case class json data request body , convert response data case class.
update:
after study, think tostring method can used convert case class json data. there more code if case class has option fields.
in combination of dispatch using json4s serialise / deserialise json bodies. can have @ here : http://json4s.org/. can consider using spray-json, circe, argaunot, it's !!
Comments
Post a Comment