We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug JPA/EclipseLink serializer ikke JSON i korrekt rækkefølge. (som det står I DTO'en) To Reproduce
Expected behavior JSON should be serialized/deserialized as they are written in their respective DTO.
As it should be:
{ "ID": 1, "First Name": "Johnny", "Last Name": "Reimar", "Email": "[email protected]", "hobbies": "Test", "phones": "Test", "Address": "Test" }
As it is:
{ "email": "[email protected]", "firstName": "Johnny", "hobbies": [], "id": 1, "lastName": "Reimar", "phones": [] }
Screenshots
Additional context We have had this issue before and I remember having it fixed. Was it by using @ElementCollection?
@ElementCollection
The text was updated successfully, but these errors were encountered:
ALSO
Our empty JSON lists are serialized, it would be much prettier if they weren't! Lets look into this, too.
Sorry, something went wrong.
Svar fra Lars angående dette fra Slack:
No branches or pull requests
Describe the bug
JPA/EclipseLink serializer ikke JSON i korrekt rækkefølge. (som det står I DTO'en)
To Reproduce
Expected behavior
JSON should be serialized/deserialized as they are written in their respective DTO.
As it should be:
As it is:
Screenshots
Additional context
We have had this issue before and I remember having it fixed. Was it by using
@ElementCollection
?The text was updated successfully, but these errors were encountered: