Top "Json-deserialization" questions

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

Fastest way to check if a string is JSON in PHP?

I need a really, really fast method of checking if a string is JSON or not. I feel like this …

php json error-handling json-deserialization jsonresult
Can not deserialize instance of java.util.ArrayList out of VALUE_STRING

I have a REST service built with Jersey and deployed in the AppEngine. The REST service implements the verb PUT …

java json arraylist jackson json-deserialization
What is deserialize and serialize in JSON?

I have seen the terms "deserialize" and "serialize" with JSON. What do they mean?

json serialization deserialization json-deserialization json-serialization
Deserialize a JSON array in C#

I'm stuck with a tricky problem. I've a JSON string of this format: [{ "record": { "Name": "Komal", "Age": 24, "Location": "Siliguri" } }, { "record": { "…

c# json deserialization json-deserialization
How to Deserialize JSON data?

I am new to working with JSON data. I am reading data from a web service. The query data sent …

c# json windows-phone-8 json.net json-deserialization
JSON: JsonMappingException while try to deserialize object with null values

I try to deserialize object that contains null-properties and have the JsonMappingException. What I do: String actual = "{\"@class\" : \"PersonResponse\"," + " \"id\" : \"…

java json jackson json-deserialization
Deserializing into a HashMap of custom objects with jackson

I have the following class: import org.codehaus.jackson.annotate.JsonIgnoreProperties; import org.codehaus.jackson.annotate.JsonProperty; import java.io.…

java jackson json-deserialization
Deserialize nested JSON into C# objects

I am getting JSON back from an API that looks like this: { "Items": { "Item322A": [{ "prop1": "string", "prop2": "string", "prop3": 1, "…

c# json json.net deserialization json-deserialization
Is Jackson's @JsonSubTypes still necessary for polymorphic deserialization?

I am able to serialize and deserialize a class hierarchy where the abstract base class is annotated with @JsonTypeInfo( use = …

java json jackson json-deserialization
How to iterate a JsonObject (gson)

I have a JsonObject e.g JsonObject jsonObject = {"keyInt":2,"keyString":"val1","id":"0123456"} Every JsonObject contains a "id" entry, but the …

java json gson json-deserialization