Tag: serialization

58 votes
19 answers
3K views
XmlSerializer - There was an error reflecting type

Using C# .NET 2.0, I have a composite data class that does have the [Serializable] attribute on it. I am crea

avatar
Xavier
0 1 0 9
asked 07 September, 2021
56 votes
17 answers
610 views
How to Deserialize XML document

How do I Deserialize this XML document: <?xml version="1.0" encoding="utf-8"?> <Cars> <Car&g

avatar
Frederick
0 1 0 9
asked 07 September, 2021
51 votes
12 answers
1.6K views
Deserializing JSON to .NET object using Newtonsoft (or LINQ to JSON maybe?)

I know there are a few posts about Newtonsoft so hopefully this isn't exactly a repeat...I'm trying

avatar
Clarice
0 1 0 9
asked 07 September, 2021
52 votes
26 answers
719 views
What is a serialVersionUID and why should I use it?

Eclipse issues warnings when a serialVersionUID is missing. The serializable class Foo does not declare

avatar
Chaya
0 1 0 9
asked 07 September, 2021
57 votes
30 answers
1.7K views
Convert form data to JavaScript object with jQuery

How do I convert all elements of my form to a JavaScript object? I'd like to have some way of automatic

avatar
Percy
0 1 0 9
asked 07 September, 2021