How can I serialize an object that does not implement Serializable? I cannot mark it Serializable because the class is from a 3rd party library.
You can use Kryo. It works on non serialized classes but classes needs registered aforehand.