thatrobert

Results 2 comments of thatrobert

`var json1 = (JToken)JsonConvert.DeserializeObject("[{\"id\":1,\"data\":100},{\"id\":2,\"data\":200},{\"id\":3,\"data\":300}]");` `var json2 = (JToken)JsonConvert.DeserializeObject("[{\"id\":2,\"data\":200},{\"id\":3,\"data\":300}]");` `Options options = new Options() { DiffBehaviors = DiffBehavior.IgnoreNewProperties };` `var jdb = new JsonDiffPatch();` `var patch = jdb.Diff(json1, json2);` If you...

Does it need to be inline? It would be more consistent to treat arrays inside properties as bulleted lists: {myObject} key: value arrayKey: \* value1 \* value2 \* value3 {}