public static JsonDiff Create(JsonTreeNode node, JsonDiffType diffType, string msg) { return(new JsonDiff { Path = JsonPointer.Create(node), DiffType = diffType, Msg = msg, }); }
public static JsonDiff Create <T>(ListTreeNode <T> node, JsonDiffType diffType, string msg) where T : IListTreeItem, IValue <T> { return(new JsonDiff { Path = JsonPointer.Create(node), DiffType = diffType, Msg = msg, }); }
public JsonDiff(JsonNode node, JsonDiffType diffType, string msg) { Path = new JsonPointer(node); DiffType = diffType; Msg = msg; }