Top "Deserialization" questions

Deserialization is the process by which an object is recreated from its serialized state.

How can I parse JSON with C#?

I have the following code: var user = (Dictionary<string, object>)serializer.DeserializeObject(responsecontent); The input in responsecontent is …

c# json parsing json.net deserialization
Convert string with commas to array

How can I convert a string to a JavaScript array? Look at the code: var string = "0,1"; var array = [string]; alert(…

javascript arrays string deserialization
Deserializing JSON to .NET object using Newtonsoft (or LINQ to JSON maybe?)

I know there are a few posts about Newtonsoft so hopefully this isn't exactly a repeat...I'm trying to convert …

c# json linq json.net deserialization
Deserializing JSON data to C# using JSON.NET

I'm relatively new to working with C# and JSON data and am seeking guidance. I'm using C# 3.0, with .NET3.5SP1, …

c# json json.net deserialization
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
Deserializing a JSON into a JavaScript object

I have a string in a Java server application that is accessed using AJAX. It looks something like the following: …

javascript json deserialization
How to implement custom JsonConverter in JSON.NET to deserialize a List of base class objects?

I am trying to extend the JSON.net example given here http://james.newtonking.com/projects/json/help/CustomCreationConverter.html …

c# json json.net deserialization
NewtonSoft.Json Serialize and Deserialize class with property of type IEnumerable<ISomeInterface>

I am trying to move some code to consume ASP.NET MVC Web API generated Json data instead of SOAP …

c# json serialization json.net deserialization
.NET NewtonSoft JSON deserialize map to a different property name

I have following JSON string which is received from an external party. { "team":[ { "v1":"", "attributes":{ "eighty_min_score":"", "home_or_…

json c#-4.0 serialization deserialization json.net
Newtonsoft JSON Deserialize

My JSON is as follows: {"t":"1339886","a":true,"data":[],"Type":[['Ants','Biz','Tro']]} I found the Newtonsoft JSON.NET deserialize …

c# json.net deserialization