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

learn more… | top users | synonyms

3
votes
0answers
349 views

Deserialization JSON to objects with interface fields using SuperObject

I'm having trouble deserializing an object containing a interface field from json using SuperObject (serialization works fine) on DXE2. Consider the following: ITest = interface(IInterface) ...
3
votes
0answers
341 views

Serializing with Messagepack

I like to serialize my java class object using Messagepack. My class structure is such that public class A { private InnerClass obj; //Some other variables with getters and setters. // ...
2
votes
0answers
217 views

Child node doesn't deserialize to the expect type object, but keep as XmlNode

Here my XSD file: <?xml version="1.0" encoding="UTF-8"?> <xs:complexType name="**c_extension**"> <xs:choice maxOccurs="unbounded"> ...
2
votes
0answers
78 views

Calling original deserialise method from a customer serialised class

Ok, so lets say that I have a class as outlined below: [serializable] class foobar { List<Object> Bar; <methods etc n stuff> } Ok, so quite straight forward. Now, lets add a ...
2
votes
0answers
435 views

Deserialize a GWT-RPC response using C#

Is it possible to parse or deserialize a GWT-RPC response using C#? I can not seem to find any useful information about this ~serialized format. I get the following response from the service and ...
2
votes
0answers
140 views

NULL character found in serialized string

I am unable to unserialize() a backtrace that I serialize()'d and saved to a text file. I cannot also copy-paste the string, it only copies the data before NULL so I am unable to unserialize it back ...
2
votes
0answers
448 views

Serializing & Deserializing a Struct Array

In the following bit of code, I am observing that the marshaler is reading past the 3 byte source array to populate another 8 bytes of data. With time, the code eventually throws a memory access ...
2
votes
0answers
494 views

JSON.Net deserialize particular object

I'm using JSON.Net in the trial to serialize/deserialize a not-so-well-formed JSON. Specifically I'm trying to serialize an attribute with a js variable as value, something like this: { ..., ...
2
votes
0answers
153 views

Fastest way to serialize and deserialize a dictionary of values?

We have an internal storage format where entities of diffrent kind have their values in a dictionary, and the metadata for an entity defines what properties there exists values for. An entity needs ...
2
votes
0answers
873 views

SAP Webservice Client - Deserialization failed

I've created a simple Net WebSvc Client which receives an up to date reference of a Sap WebSvc. It expects a String, and four elements sent by reference: three arrays of custom objects and another ...
1
vote
0answers
26 views

Deserialize XML to same type childs on different elements

UPDATE: SOLVED - See below! When deserializing a xml file containing network nodes there seem to go something wrong when handling child elements. I've got the following parent (root) class: ...
1
vote
0answers
38 views

permission java.lang.reflect.ReflectPermission “suppressAccessChecks” with gson deserialization

I'm getting Exception in thread "AWT-EventQueue-2" java.security.AccessControlException: access denied ("java.lang.reflect.ReflectPermission" "suppressAccessChecks") at ...
1
vote
0answers
21 views

Constructing a THRIFT Object from a JAVA String

How to construct a THRIFT object from a java string? Specifically I have file which has THRIFT objects converted into strings and are logged. I want to read the strings and construct THRIFT object ...
1
vote
0answers
46 views

How to update Entity Framework with deserialized object?

I have one method that looks like this: // Adds an element to the TableElement table in SQL AddToSql(TableElement deserializedObject) { MyEntities entities = new MyEntities(); ...
1
vote
0answers
67 views

simple XML deserialization #2

I am learning XML serialization behaviours and limitations. I have simple XML file like below <?xml version="1.0" encoding="utf-8"?> <rdf:RDF ...

1 2 3 4 5 24
15 30 50 per page