Skip to content
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

Is it possible to use FST to customise the default serialization of a java object #331

Open
ghoshtir opened this issue Jan 12, 2023 · 1 comment

Comments

@ghoshtir
Copy link

I was wondering if for a java object I can override the readObject/writeObject to use FST or to implement Externalizable and override the readExternal/writeExtenal to use FST.

I am using a framework where I dont have much handle on the serialization/deserialization unless I play around with the above methods of the java objects. Thats why wanted to know if I can still use FST or not.

@richard-smith-preservica

You can use Externalizable.

You can also use custom serialisation overrides but only with some configurations (in particular it didn't work for me using the JSON configuration and I had to switch to using Externalizable instead).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants