Top "Serialization" questions

Serialization is the process by which data-structures are converted into a format that can be easily stored or transmitted and subsequently reconstructed.

How do you do a deep copy of an object in .NET?

I want a true deep copy. In Java, this was easy, but how do you do it in C#?

c# .net serialization clone
Convert a JSON string to object in Java ME?

Is there a way in Java/J2ME to convert a string, such as: {name:"MyNode", width:200, height:100} to an …

java json java-me serialization
Serialize an object to string

I have the following method to save an Object to a file: // Save an object out to the disk public …

c# string serialization xml-serialization
Java Serializable Object to Byte Array

Let's say I have a serializable class AppMessage. I would like to transmit it as byte[] over sockets to another …

java object serialization
Converting between strings and ArrayBuffers

Is there a commonly accepted technique for efficiently converting JavaScript strings to ArrayBuffers and vice-versa? Specifically, I'd like to be …

javascript serialization arraybuffer typed-arrays
Converting Stream to String and back...what are we missing?

I want to serialize objects to strings, and back. We use protobuf-net to turn an object into a Stream and …

c# .net serialization deserialization protobuf-net
Print array to a file

I would like to print an array to a file. I would like the file to look exactly similar like …

php serialization
JSON.NET Error Self referencing loop detected for type

I tried to serialize POCO class that was automatically generated from Entity Data Model .edmx and when I used JsonConvert.…

json serialization json.net
How to get string objects instead of Unicode from JSON?

I'm using Python 2 to parse JSON from ASCII encoded text files. When loading these files with either json or simplejson, …

python json serialization unicode python-2.x
Gson: How to exclude specific fields from Serialization without annotations

I'm trying to learn Gson and I'm struggling with field exclusion. Here are my classes public class Student { private Long …

java json serialization gson