Top "Deserialization" questions

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

Can I specify a path in an attribute to map a property in my class to a child property in my JSON?

There is some code (which I can't change) that uses Newtonsoft.Json's DeserializeObject<T>(strJSONData) to take data …

c# json json.net deserialization
Why my exception class needs to be serialized?

When you extend a class with class Exception ( for creating new exception) you get a warning to have a serialVersionUID. …

java exception serialization deserialization serialversionuid
How to serialize an object that includes BufferedImages

I'm trying to create a simple image editing program in java. I made an ImageCanvas object that has all the …

java image serialization deserialization bufferedimage
How to validate an object before deserializing

In my code, I am calling getObject() method from an ObjectMessage object received from a JMS queue. Fortify report is …

java validation serialization deserialization fortify
What's the Jackson deserialization equivalent of @JsonUnwrapped?

Say I have the following class: public class Parent { public int age; @JsonUnwrapped public Name name; } Producing JSON: { "age" : 18, "first" : "…

java json jackson deserialization
How do I implement TypeAdapterFactory in Gson?

How do I implement type TypeAdapterFactory in Gson? The main method of create is generic. Why? The registration method registerTypeAdapterFactory() …

java json serialization gson deserialization
Deserialize JSON into existing object (Java)

I'd like to know how one might get the Jackson JSON library to deserialize JSON into an existing object? I've …

java json jackson deserialization
Gson - deserialization to specific object type based on field value

I want to deserialize json objects to specific types of objects (using Gson library) based on type field value, eg.: [ { "…

java json deserialization gson
Json.NET Disable the deserialization on DateTime

Here is the code: string s = "2012-08-08T01:54:45.3042880+00:00"; JObject j1 = JObject.FromObject(new { time=s }); Object o = j1["time"]; …

c# datetime json.net deserialization