Top "Deserialization" questions

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

Deserialize XML To Object using Dynamic

Is it possible Deserialize unknown XML to object like below? var xml = @"<Students><Student><Name&…

c# xml dynamic deserialization xmlserializer
Newtonsoft Json Error converting value {null} to type 'System.Int32'

When performing an AJAX request I am getting the following error: Error converting value {null} to type 'System.Int32'. …

c# .net json json.net deserialization
How to handle a NumberFormatException with Gson in deserialization a JSON response

I'm reading a JSON response with Gson, which returns somtimes a NumberFormatException because an expected int value is set to …

java json deserialization gson
Jackson Change JsonIgnore Dynamically

I have a class and there are variables inside it as well. Sometimes I want to ignore some fields and …

java json deserialization jackson
Golang serialize and deserialize back

What's the best way (completeness and performance) in Golang to serialize and deserialize a struct to string and vice versa? …

serialization go deserialization
How to serialize/deserialize a C# WCF DataContract to/from XML

I am developing a WCF service which will be consumed by multiple different client applications. In order to make one …

c# wcf xml-serialization deserialization datacontract
Json deserialization into other class hierarchy using Jackson

Now i'm working with Jackson and i have some questions about it. First of all. I have two services, first …

java json serialization jackson deserialization
Serialization of struct

Suppose i have a struct whose member values i want to send over the network to another system using winsock 2. …

c++ serialization deserialization winsock2
Deserialize array of key value pairs using Json.NET

Given the following json: [ {"id":"123", ... "data":[{"key1":"val1"}, {"key2":"val2"}], ...}, ... ] that is part of a bigger tree, how can I …

c# json.net deserialization
JSON.NET deserialize to object with Type parameter

I have the following problem which I am unable to solve: I have different classes which all implement an interface …

c# types casting json.net deserialization