A property converter that is set on a property that is also Constructor
parameter does not get used during deserialization.
In the following example the "baz" argument does not get passed to the
Foo2BarConverter upon deserialization.
public class MyClass {
public MyClass(Bar baz) {
}
[JsonConvert(typeof(Foo2BarConverter))]
[ConstructorParameter("baz")]
public Foo FooProp { get { /* ... */ } set { /* ... */ }
}
Original issue reported on code.google.com by elliott....@gmail.com on 7 Jul 2009 at 4:17
Original issue reported on code.google.com by
elliott....@gmail.com
on 7 Jul 2009 at 4:17