mirror of
https://github.com/fankes/moshi.git
synced 2025-10-19 16:09:21 +08:00
Merge pull request #491 from square/eric.jsonclass-data
Remove data class limitation from JsonClass doc.
This commit is contained in:
@@ -23,7 +23,7 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
|
|||||||
/**
|
/**
|
||||||
* Customizes how a type is encoded as JSON.
|
* 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)
|
@Retention(RUNTIME)
|
||||||
@Documented
|
@Documented
|
||||||
|
Reference in New Issue
Block a user