-
Notifications
You must be signed in to change notification settings - Fork 305
New issue
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
Support serialization for property that is an object #1069
Comments
Thank you for the feature request. We are looking into this and will reply as soon as possible. |
You can already store byte arrays in an object, see built-in support for types: https://docs.objectbox.io/advanced/custom-types#objectbox-supported-types If this is about completely replacing the class model (e.g. classes annotated with |
关键性能在于转二进制 以及持久化的二进制如何完整反序列化 不出现兼容字段问题,行业有cryo flatbuffers 等 Translation: The key performance lies in how to convert the binary and how to completely deserialize the persistent binary without the problem of compatible fields. The industry has cryo flatbuffers, etc. My scenario is UserPo.xxxField is an object |
Using the current ObjectBox API this should be solvable in a technology independent way using E.g. you could write a converter that uses https://github.com/twitter/Serial as you suggested. |
您好,我期望自定义类型 能更好的支持二进制,提高速度,是否可以参考 https://github.com/twitter/Serial
这样更方便的将字段是自定义模型 更快插入和读取
Translation: Hello, I hope that the custom type can better support binary and improve the speed. Can you refer to https://github.com/twitter/Serial
This makes it more convenient to insert and read the field into a custom model faster
The text was updated successfully, but these errors were encountered: