Serialise custom collection With additional properties and on Add to hookup item propertChanged events
问题 I have a custom collection which I would like to serialise with JSON.NET: I need it to serialise the child collections within this custom collection. On deserialisation I need to hook up PropertyChanged event for items within the collection. If I pass my collection as is, Json sees IEnumerable and serialises the items in the collection ok, but ignores the other collections within. If I attribute the collection with [JsonObject] it will serialise all the internal collections but not the