Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider adding a @NbtSerialName annotation #21

Closed
BenWoodworth opened this issue Nov 22, 2022 · 1 comment
Closed

Consider adding a @NbtSerialName annotation #21

BenWoodworth opened this issue Nov 22, 2022 · 1 comment

Comments

@BenWoodworth
Copy link
Owner

Would have the same functionality as @SerialName, but takes precedence when serializing NBT

see: Kotlin/kotlinx.serialization#2104

Naming considerations:

(I checked all officially/community supported formats for related @SerialInfo annotation classes)

@BenWoodworth
Copy link
Owner Author

Superseded by #29

Opting to add a separate annotation to encompass the serialized root tag name behavior, removing the need for empty @SerialNames

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant