XML : Differences between Java Serialization, JSON, JAXB?

Is an object's implementation of the Serializable interface in any way related to that object's ability to be serialized into JSON or XML? Is there a name for the text format that Java serialization uses? If not, should we not use the word "serialization" to describe exporting an object to JSON or XML, to avoid confusion? At AO, what uses are typical for each of these three serialization methods?

I know that JAXB is usually used to convert XML to Java, not the other way around, but I heard that the reverse is possible too.

No comments:

Post a Comment