Using @Elad solution at this answer I could serialize and de-serialize a Font using C# but I need to de-serialize it in Java. Is there a way to achieve it?
If someone has any good article on doing this for any other object it could be helpful.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In Elad’s answer, the System.Drawing.Font is converted to XML, and then to a pure binary form. On the Java, side, it’s pretty trivial to deserialize from binary to XML, but from there, you will have to know what you plan on doing with the XML. Do you have a java class you are wanting/needing to use?