I'm working on a project in java which is replacing an old C# program. In the old C# program, users could save out the data they were working on to a GZip file, written by Serializing a wrapper object which contained all the data, and writing it using a GZipStream.
I would like to offer users the option to load in data saved with the old system. Opening the GZip file using Java's GZipInputStream is easy enough, but how do I deserialize the object?
I did a little research and found this question: Can a serialized simple java object be deserialized by C#? The answer there said that there's no library to do this, but there is documentation on how Java serializes objects, and it is possible to write your own code to deserialize them.
Is there a known way to do this from C# to Java? Or should I write my own converter from scratch?