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 I PHP-unserialize a jQuery-serialized form?

Using $('#form').serialize(), I was able to send this over to a PHP page. Now how do I unserialize …

php jquery serialization
How to save/restore serializable object to/from file?

I have a list of objects and I need to save that somewhere in my computer. I have read some …

c# serialization stream
how to do file upload using jquery serialization

So I have a form and I'm submitting the form through ajax using jquery serialization function serialized = $(Forms).serialize(); $.ajax({ …

php jquery ajax serialization file-upload
Java ByteBuffer to String

Is this a correct approach to convert ByteBuffer to String in this way, String k = "abcd"; ByteBuffer b = ByteBuffer.wrap(…

java string serialization bytearray
Cannot deserialize the JSON array (e.g. [1,2,3]) into type ' ' because type requires JSON object (e.g. {"name":"value"}) to deserialize correctly

I have this JSON: [ { "Attributes": [ { "Key": "Name", "Value": { "Value": "Acc 1", "Values": [ "Acc 1" ] } }, { "Key": "Id", "Value": { "Value": "1", "Values": [ "1" ] } } ], "Name": "account", "Id": "1" }, { "…

c# arrays json serialization json.net
Preferred method to store PHP arrays (json_encode vs serialize)

I need to store a multi-dimensional associative array of data in a flat file for caching purposes. I might occasionally …

php performance arrays json serialization
How to deserialize a JObject to .NET object

I happily use the Newtonsoft JSON library. For example, I would create a JObject from a .NET object, in this …

.net json exception serialization json.net
<Django object > is not JSON serializable

I have the following code for serializing the queryset; def render_to_response(self, context, **response_kwargs): return HttpResponse(json.…

python django json serialization django-class-based-views
Task not serializable: java.io.NotSerializableException when calling function outside closure only on classes not objects

Getting strange behavior when calling function outside of a closure: when function is in a object everything is working when …

scala apache-spark serialization
form serialize javascript (no framework)

Wondering is there a function in javascript without jquery or any framework that allows me to serialize the form and …

javascript forms serialization