Conditional property serialization

Jun 18, 2012 at 1:57 PM
Edited Jun 18, 2012 at 1:58 PM


I am using Json in a WPF application project. I would like to skip the serialization of one property of an object. But not always, only if a certain condition is met. In the big table where all Json features are mentioned there is one "Conditional property serialization" that sound like what I am looking for. But I cannot find any example on how to achieve this.

Any idea? Thanks

Jun 27, 2012 at 5:58 PM

I too would like to see an example of this!