Pregunta de entrevista de Juniper Networks

How to serialize an object without implementing serialiszable interface

Respuesta de la entrevista

Anónimo

18 de nov de 2015

There are many serialization mechanisms apart from the jvm one. XML JSON BSON MessagePack protobufs ... Some of them are text-based, some are binary. All have drawbacks and pluses. Text-based ones are human-readable, binary ones are faster and take up less space. There are java libraries that handle all the above formats: JAXB (XML), Jackson (JSON), etc.