About 3,570,000 results
Open links in new tab
  1. java - What is object serialization? - Stack Overflow

    In Java, the serialization mechanism is built into the platform, but you need to implement the Serializable interface to make an object serializable. You can also prevent some data in your object from being …

  2. What is the purpose of Serialization in Java? - Stack Overflow

    Feb 9, 2010 · Serialization is also faster, because in Java, objects are handled on the heap, and take much longer than if they were represented as primitives on the stack. Speed, speed, speed. And less …

  3. java - What does Serializable mean? - Stack Overflow

    Aug 7, 2010 · Serialization is persisting an object from memory to a sequence of bits, for instance for saving onto the disk. Deserialization is the opposite - reading data from the disk to hydrate/create an …

  4. What is serialization in Java? - Stack Overflow

    Mar 5, 2014 · Java API takes care of the serialization protocol and persists the java object in a file in conformance with the protocol. De-serialization is the process of getting the object back from the file …

  5. How does Java's serialization work and when it should be used instead ...

    The main advantage of serialization is that it is extremely easy to use, relatively fast, and preserves actual Java object meshes. But you have to realize that it's not really meant to be used for storing …

  6. java - What is a serialVersionUID and why should I use it ... - Stack ...

    Nov 13, 2008 · The docs for java.io.Serializable are probably about as good an explanation as you'll get: The serialization runtime associates with each serializable class a version number, called a …

  7. java - Jackson enum Serializing and DeSerializer - Stack Overflow

    Aug 2, 2015 · The serializer / deserializer solution pointed out by @xbakesx is an excellent one if you wish to completely decouple your enum class from its JSON representation. Alternatively, if you …

  8. java - Jackson serialization: ignore empty values (or null) - Stack ...

    Jackson serialization: ignore empty values (or null) Asked 12 years, 8 months ago Modified 1 year, 11 months ago Viewed 493k times

  9. serialization - Managing several versions of serialized Java objects ...

    Lets say that I have a program that for some reason need to handle old versions of serialized objects. Eg: when deserializing, one of these versions may be encountered. class Pet { private st...

  10. Why does Java have transient fields? - Stack Overflow

    May 26, 2009 · The transient keyword in Java is used to indicate that a field should not be part of the serialization (which means saved, like to a file) process. From the Java Language Specification, Java …