This project has moved and is read-only. For the latest updates, please go here.

Fields serialization

May 17, 2009 at 12:07 PM

Can i serialize fields instead of properties?

In my tests only fields wrapped to properties can be serialized. Can i switch this behavior?

[JsonObject(MemberSerialization.OptOut)] didnt help me.

May 17, 2009 at 1:20 PM

Answer was simple: only public fields are serialized