Merge pull request #491 from square/eric.jsonclass-data

Remove data class limitation from JsonClass doc.
This commit is contained in:
Jesse Wilson
2018-04-08 05:26:37 -07:00
committed by GitHub

View File

@@ -23,7 +23,7 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
/**
* Customizes how a type is encoded as JSON.
*
* <p>This annotation is currently only permitted on declarations of data classes in Kotlin.
* <p>This annotation is currently only permitted on declarations of classes in Kotlin.
*/
@Retention(RUNTIME)
@Documented