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
when serailizing and deserializing Diffs of objects, I'm having some trouble:
Let's assume the following:
`
Item val1 = new Item();
Item val2 = new Item();
val1.setId(1234);
val2.setId(5678);
Javers javers = JaversBuilder.javers().build();
Diff diff = javers.compare(val1, val2);
String json = javers.getJsonConverter().toJson(diff); // until here it works
Diff javersDiff = javers.getJsonConverter().fromJson(json , Diff.class); // here it crashes
`
I'm getting a "java.lang.IllegalArgumentException: argument should not be null" Exception. Debugging further into it gives me a
"Method threw 'java.lang.IllegalArgumentException' exception. Cannot evaluate org.javers.core.diff.Diff.toString()"
Any way to actually nicely deserialize my values again as Diff?
Thanks,
The text was updated successfully, but these errors were encountered:
Hi,
when serailizing and deserializing Diffs of objects, I'm having some trouble:
Let's assume the following:
`
`
I'm getting a "java.lang.IllegalArgumentException: argument should not be null" Exception. Debugging further into it gives me a
"Method threw 'java.lang.IllegalArgumentException' exception. Cannot evaluate org.javers.core.diff.Diff.toString()"
Any way to actually nicely deserialize my values again as Diff?
Thanks,
The text was updated successfully, but these errors were encountered: