I have a nested data structure: Class A contains Class B contains Class C contains Class D.
Using JSON.NET, is there a way to "register" a custom deserializer for Class D only -- allowing the default deserializer to handle Classes A through C -- and then deserialize the entire data structure with a single method call to deserialize the root object of Class A?
Maybe I've misunderstood the API but so far the only potential approach in JSON.NET that I've found requires writing custom deserializers for all 4 Classes so that each can call the custom deserializer for the class nested within it (i.e., custom deserializer for A invokes custom deserializer for B, etc). This would entail a lot of work when all I really want is to customize how Class D is deserialized.