ru.makkarpov.extjson.annotations
Specifies a key to use in case classes instead of field name
case class A(@key("field") a: String) implicit val aFormat = Json.generate[A] Json.toJson(A("123")).toString == "{\"field\":\"123\"}"
JSON key
Specifies a key to use in case classes instead of field name
JSON key