kifi/json-annotation

The single-field class formatter should support standard Play format

Closed this issue · 6 comments

We would love to use your plugin at Gravity, but unfortunately it would require a difficult migration for certain single-value case classes that use the standard Play format (e.g. {"name":"Bob"} for case class Person(name: String)). The problem is that we have many such classes and serializations being stored and transmitted among many apps; to use your plugin as-is we would have to perform a difficult migration involving hundreds of servers.

Would it be possible for you to release a patch to support "backwards compatibility" with the default Play format for single-value case classes? If not, I suppose I could do my best to submit a PR with one, but chances are you'll be able to whip that out much more quickly as I have no macro experience...

+1

+1

👍 :)