Showing posts with label serialization. Show all posts
Showing posts with label serialization. Show all posts

Friday, April 27, 2012

Objective-C Reflection for generic NSCoding implementation


Is there any means of reflection in Objective-C that would allow you to write generic NSCoding implementations by inspecting the public properties of an object and generating generic implementations of encodeWithCoder: and initWithCoder: .

Monday, April 16, 2012

Should an abstract class have a serialVersionUID


In java, if a class implements Serializable but is abstract, should it have a serialVersionUID long declared, or do the subclasses only require that?

Tuesday, February 28, 2012

Deserialize nested class using yamlbeans


I'm using yamlbeans to deserialize yaml files into Java objects. This works fine as long as I only have one class. The problem is when I want to nest a field, I am forced to specify the nested class in the yaml description.

Monday, January 30, 2012

retrieve serialized java.util.Arraylist in asp.net client (SUID doesn"t match)


I am trying to send persisted objects from a java webservice to the ASP.Net client. Both sides have the object-classes, with the same SerialUID's. Classes without (Array)Lists pose no problem, but when I want to send objects including ArrayLists, the expected SUID is incorrect: