You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
JSONObject does not work with records without field annotations #1015
If the field is not annotated with @JSONPropertyName and if it doesn't start with get or is, then it will return null.
Since records don't use prefixes on getters, it will always be represented as {} an empty object.
Activity
stleary commentedon Oct 17, 2025
@MarcoMartins86 Thanks for bringing up this issue, looks like something that should be fixed.
Madjid-Ghazi commentedon Oct 21, 2025
We have just hit the same problem, so its def an issue.
Thanks for the OP for raising the ticket and also for the work to fix it.
Abhineshhh commentedon Oct 25, 2025
can i work on it ? @stleary
stleary commentedon Oct 25, 2025
@Abhineshhh Yes
stleary commentedon Nov 12, 2025
Closing this issue; a fix was added in #1020. If there are any questions or issues with the feature, please open a new ticket.