Closed GoogleCodeExporter closed 9 years ago
You just need to add the JsonExProperty attribute to it:
public class Foo {
[JsonExProperty]
public int ID {
get { return _id; }
}
}
Original comment by elliott....@gmail.com
on 17 Jul 2009 at 1:16
cool it works well
is there a reason why it is not done by default?
Original comment by sylvain....@gmail.com
on 17 Jul 2009 at 2:17
Yes, because you wouldn't be able to deserialize it without changing some
settings, so
I wanted it to be an explicit choice to do so.
Original comment by elliott....@gmail.com
on 17 Jul 2009 at 2:59
ok, I understand, it completely makes sense.
(I never user the deserialization :-) )
Original comment by sylvain....@gmail.com
on 17 Jul 2009 at 3:12
Issue 60 has been merged into this issue.
Original comment by elliott....@gmail.com
on 19 Jul 2011 at 11:18
Original issue reported on code.google.com by
sylvain....@gmail.com
on 17 Jul 2009 at 12:14