Closed GoogleCodeExporter closed 8 years ago
Hi,
The Serializers handle ValueTypes/Structs differently, You will need to
implement ToString(), and either provide a static TStruct.Parse(string) method
or a string constructor (e.g. ctor(string)).
See example here: http://bit.ly/c6XKVO
This was done because many structs contains field data they want to serialize.
It also allows you to do a more compact serialization for structs.
Original comment by demis.be...@gmail.com
on 12 Oct 2010 at 5:13
Thanks demis.
I got it.
I have opened this because "Json.NET" is doing the same thing without
implementing ToString() and Parse() Methods.
Original comment by rms...@gmail.com
on 13 Oct 2010 at 3:53
No probs :)
Original comment by demis.be...@gmail.com
on 13 Oct 2010 at 7:06
Original issue reported on code.google.com by
rms...@gmail.com
on 12 Oct 2010 at 5:00Attachments: