Deserializing JSON child object values into parent object using JsonConvert.DeserializeObject<T> using nested converters
问题 I'm receiving some oddly formatted JSON that I want to store in a single object. It looks something like this: { "parentObject": { "id": 123456, "pointlessChildObject": { "stringThatCouldBeStoredInParent": "test", "epochTimeThatCouldBeStoredInParent": "1520452800" } } } At first, I thought this would be simple thanks to a solution by Brian Rogers that I found: Can I specify a path in an attribute to map a property in my class to a child property in my JSON? However, if you implement this