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

Improve the toJson function to overwrite json property with the given name #7004

Closed
lnash94 opened this issue Sep 10, 2024 · 0 comments · Fixed by ballerina-platform/module-ballerina-data.jsondata#35

Comments

@lnash94
Copy link
Member

lnash94 commented Sep 10, 2024

Description:
Currently, the tool uses the @jsondata:Name annotation to overwrite the record name with the given JSON property name when using the parseAsType method. This issue aims to implement the same annotation usage in the toJson function to overwrite the given property name with the corresponding JSON property.

This feature improvement is required this proposal : #6747

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant