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
Basic support was added in #148. Its implementation assumes the same order of fields in the Java record and JSON.
This issue is about improving the deserialization to support any order of fields in the JSON.
Currently deserialization fails with Failed to create an instance of SomeClass due to (java.lang.IllegalArgumentException): argument type mismatch in case the field order doesn't match (see this comment on the initial implementation).
The text was updated successfully, but these errors were encountered:
Agreed: not sure how I missed this in review -- order can not and must not be assumed; matching strictly by name. We need tests for different order at minimum.
Basic support was added in #148. Its implementation assumes the same order of fields in the Java record and JSON.
This issue is about improving the deserialization to support any order of fields in the JSON.
Currently deserialization fails with
Failed to create an instance of SomeClass due to (java.lang.IllegalArgumentException): argument type mismatch
in case the field order doesn't match (see this comment on the initial implementation).The text was updated successfully, but these errors were encountered: