How to access Variable annotations? #1070
|
This question is not specific to Kotlin poet but about javax & Kotlin Metadata
wanted result:
but currently able to generate it
I want access @JSON (or @SerializedName) annotation and its value, how do I get it? then Using Kotlin poet to class with this string init. |
Answered by
ZacSweers
Apr 26, 2021
Replies: 1 comment
|
This would be a better question for stackoverflow. As you mentioned, this is not specific to KotlinPoet. |
0 replies
Answer selected by
aniketbhoite
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This would be a better question for stackoverflow. As you mentioned, this is not specific to KotlinPoet.