1

Closed

"[DefaultValue(0)] public decimal Amount" is ignored and still serialized

description

The class:
 
public class Foo {
[DefaultValue(0.0)] public decimal Amount { get; set; }
}
 
serializes to:
{
"Price": 0.0
}
 
when I use DefaultValueHandling.Ignore
Closed Jun 9, 2012 at 1:43 AM by JamesNK
Fixed

comments