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

learn more… | top users | synonyms

0
votes
0answers
8 views

XML Deserialization base64 string to bytes

Hi I have a need to deserialize an XML file which contains an image in base64 string. When I deserialize the XML the image is straight away populated as bytes by the following class. Which pretty much ...
1
vote
1answer
16 views

How to XMLReader and Deserialize in java

I have a XML File that have attribute on every tag . point:my xml don't have any value of tag beacuse exits on the attribute on tags some tags : <Videos> <Video VideoID="1000000" ...
0
votes
2answers
29 views

DeSerialize to unknown derived type

I am storing a serialized object as json (or perhaps xml in the future) in a database. At some later point this object will be pulled and derserialized. The base class is HighChart but there are ...
0
votes
3answers
63 views

How to map Json to Java classes when some variable names begin with a number?

Recently I've been playing with a webservice that returns a json object like this { "id": 88319, "dt": 1345284000, "name": "Benghazi", "coord": { "lat": 32.12, "lon": 20.07 }, ...
1
vote
1answer
43 views

Binary serialize/deserialize via sockets TargetInvocationException

I have 3 projects, first is the client, second is the server and the last one is the BroadcastMessage: In the client have this code to serialize and object (this = BroadcastMessage): public ...
0
votes
0answers
7 views

WCF serialization / deserialization xsd vs svcutil

WCF Service Interface : [ServiceContract(Name = "TestService", Namespace = "http://www.company.com/tests")] [XmlSerializerFormat] public interface IService1 { [OperationContract] string ...
1
vote
3answers
53 views

json deserialization and field extraction?

Following is the response that I'm getting from REST { "category_id": 1314, "display_category_name": "", "english_category_name": "Sports", "url_category_name": "" }, { ...
0
votes
1answer
12 views

Serialization Cryptography Error

I am having trouble using encryption with serialization when deserializing an object. This is the error: Failed to deserialize. Reason: End of Stream encountered before parsing was completed ...
0
votes
0answers
11 views

Data loss when performing binary deserializing in Windows Phone 8

I wonder why the data when I'm performing binary deserializing from isolated storage are loss. The following are my code. [DataMember] [TypeConverter(typeof(PositionTypeConverter))] public ...
-5
votes
1answer
53 views

Json to java objects mapping [on hold]

What is the best solution for mapping/deserialize this json: { "columns" : [ "name", "description", "id" ], "data" : [ [ "Train", "Train desc", 36 ], [ "Ship", "Ship desc", 35 ], [ "Plane", "Plane ...
0
votes
1answer
38 views

Windows Phone System.XML.XMLException: Root Element is Missing

Updated I have a fairly large XML document that contains over 20,000 objects. All the sudden its throwing a System.XML.XMLException: Root Element is Missing. Here are my code blocks: public ...
0
votes
1answer
30 views

C# send multiple different objects over 1 socket

I am having an issue which i am not sure how to solve efficiently. I made a server which can handle multiple clients through TCP sockets. These clients send data (multiple different objects!) to the ...
2
votes
3answers
50 views

Jackson provider not deserializing POST data into Pojo (Jersey 2.0)

I am using Jackson json provider with Jersey 2.0. I have a Web resource like this: @Path("/accesstokens") public class AccessTokensService { @POST @Consumes(MediaType.APPLICATION_JSON) ...
0
votes
1answer
29 views

gwt sending an object via post request

I need to do a post request from a gwt app to a server. So far this works fine. However, originally I used an object that contained all the parameters send over to the server via a rpc request so I ...
0
votes
0answers
44 views

How do I serialize this Json file?

So this is my deserialisation attempt: package com.hatlessduck.web; import java.io.File; import java.io.IOException; import java.util.Collection; import java.util.HashMap; import java.util.Iterator; ...

1 2 3 4 5 99
15 30 50 per page