Top "Json-deserialization" questions

JSON deserialization is the process of converting a JSON string into an instance of an object, often a class.

Parsing large JSON file in .NET

I have used the "JsonConvert.Deserialize(json)" method of Json.NET so far which worked quite well and to be …

c# json.net deserialization json-deserialization
Jackson - @JsonTypeInfo property is being mapped as null?

I have this response: { "id":"decaa828741611e58bcffeff819cdc9f", "statement":"question statement", "exercise_type":"QUESTION" } Then, based on exercise_…

java jackson json-deserialization
PHP json_decode return error code 4

I had previously asked the same question. I would like to decode the json from: http://pad.skyozora.com/data/…

php json string character-encoding json-deserialization
Using Gson in Kotlin to parse JSON array

Trying to parse JSON array in Kotlin, made it work for single JSON object to a WeatherObject object (code snippet …

android kotlin gson json-deserialization
Deserializing JSON when sometimes array and sometimes object

I'm having a bit of trouble deserializing data returned from Facebook using the JSON.NET libraries. The JSON returned from …

c# json json.net facebook-c#-sdk json-deserialization
Newtonsoft JSON - How to use the JsonConverter.ReadJson method to convert types when deserializing JSON

I need help understanding how to use the the JsonConverter.ReadJson method to convert a value of any number of …

c# json.net json-deserialization
Deserialize json character as enumeration

I have an enumeration defined with C#, where I'm storing it's values as characters, like this: public enum CardType { Artist = …

c# json json.net enumeration json-deserialization
Get JSON key name using GSON

I have a JSON array which contains objects such as this: { "bjones": { "fname": "Betty", "lname": "Jones", "password": "ababab", "level": "manager" } } …

java json gson json-deserialization
JSON.Net - cannot deserialize the current json object (e.g. {"name":"value"}) into type 'system.collections.generic.list`1

I have a JSON like { "40": { "name": "Team A vs Team B", "value": { "home": 1, "away": 0 } }, "45": { "name": "Team A vs Team C", "…

c# json json.net json-deserialization
Object de-serializing from base64 in C#

I have a class as so [Serializable] public class ExternalAccount { public string Name { get;set;} } I have converted this to …

c# json base64 deserialization json-deserialization