This project has moved. For the latest updates, please go here.

Fields serialization

May 17, 2009 at 11:07 AM

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 12:20 PM

Answer was simple: only public fields are serialized