Serializing Java and the corner cases

Everytime you think of Java you may think about types as of classes and primitive types. Not many, right? Well, there’s a major difference between the thing and handling it. The latter brings a lot of corner cases.

This is Serializing Java – a series about writing your own serializer in case you didn’t like other serializers.

→ Continue reading

Serializing Java: inspecting data structure

Every deserializer needs information about types – the data structure. In my serialization the deserializer can work behind network connection so it can’t count on Reflection mechanism. That’s why the serializer has to discover and serialize data structure that could be sent over the network and understood by deserializer.

This is Serializing Java – emerging series about writing your own serializer in case you didn’t like other serializers.

→ Continue reading