I am currently using ORMLite to store my object. Some of the properties will be stored as JSON object without additional coding. However, I found the size of the database is growing very fast. I am thinking to change the existing JSON format to other compact serializer like MessagePack in ORMLite. May I know how can I change it? Thanks.
By default complex types should use the JSV Format (except for PostgreSQL) which is already more compact than JSON, see the docs on how to change the text serializer used. But it can’t be changed to use a binary format like MessagePack.