Converting JToken into .NET types with custom SerializerSettings
问题 Json.NET separates the JSON parsing from the construction of .NET objects. In particular should JsonConvert.DeserializeObject<MyType>(jsonString) be the same as JsonConvert.DeserializeObject<JToken>(jsonString).ToObject<MyType>() The ToObject method has no parameter that takes a SerializerSettings though. So how do I specify JSON converters and related settings? 回答1: If you have already parsed your JSON into a JToken hierarchy, you can use JToken.ToObject<T>(JsonSerializer) to deserialize to