apache / fury

A blazingly fast multi-language serialization framework powered by JIT and zero-copy.
https://fury.apache.org/
Apache License 2.0
3.11k stars 248 forks source link

[Question] Java Class Registration #1908

Closed 92daxia closed 3 weeks ago

92daxia commented 4 weeks ago

Question

If not registered, is it compatible to deserialize class attributes after adding or deleting them. v1 SomeClass { int a; String b; long c; }

v2(deserialize) SomeClass { String b; long c; int d; }

chaokunyang commented 4 weeks ago

Yes, you can do that. Type compatibility is not related class registration.