1

Closed

Serialiser settings for DeserializeAnonymousType

description

Hi, the JsonConvert.DeserializeAnonymousType should provide an overload that takes in a JsonSerializerSettings object.

E.g.
var json = "{id:'1'}";
var settings = new JsonSerializerSettings();
settings.NullValueHandling = NullValueHandling.Include;
var anonObject = JsonSerialiser.FromJsonToAnonymousType(json, new{ id = 0}, settings);
Closed Feb 24, 2013 at 5:19 AM by JamesNK
Done

comments