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.

Using JsonConvert.DeserializeObject to deserialize Json to a C# POCO class

Here is my simple User POCO class: /// <summary> /// The User class represents a Coderwall User. /// </summary> …

c# json serialization json.net poco
converting Java bitmap to byte array

Bitmap bmp = intent.getExtras().get("data"); int size = bmp.getRowBytes() * bmp.getHeight(); ByteBuffer b = ByteBuffer.allocate(size); bmp.copyPixelsToBuffer(b); …

java android serialization bitmap bytebuffer
How can I change property names when serializing with Json.net?

I have some data in a C# DataSet object. I can serialize it right now using a Json.net converter …

c# serialization json.net
Serializing class instance to JSON

I am trying to create a JSON string representation of a class instance and having difficulty. Let's say the class …

python json serialization pickle
What is object serialization?

What is meant by "object serialization"? Can you please explain it with some examples?

java serialization object-serialization
Why does writeObject throw java.io.NotSerializableException and how do I fix it?

I have this exception and I don't understand why it would be thrown or, how I should handle it. try { …

java exception serialization notserializableexception
Serializing and submitting a form with jQuery and PHP

I'm trying to send a form's data using jQuery. However, data does not reach the server. Can you please tell …

php jquery forms serialization form-submit
Convert Dictionary to JSON in Swift

I have create the next Dictionary: var postJSON = [ids[0]:answersArray[0], ids[1]:answersArray[1], ids[2]:answersArray[2]] as Dictionary and I get: [2: B, 1: …

json swift serialization
Saving an Object (Data persistence)

I've created an object like this: company1.name = 'banana' company1.value = 40 I would like to save this object. How can …

python object serialization save pickle
What is [Serializable] and when should I use it?

I found out that some classes use the [Serializable] attribute. What is it? When should I use it? What kinds …

c# .net serialization