MCPcopy Create free account
hub / github.com/kpdecker/jsdiff / diffJson

Function diffJson

src/diff/json.ts:58–60  ·  view source on GitHub ↗
(oldStr: string | object, newStr: string | object, options?: any)

Source from the content-addressed store, hash-verified

56 options?: DiffJsonOptionsNonabortable
57): ChangeObject<string>[]
58export function diffJson(oldStr: string | object, newStr: string | object, options?: any): undefined | ChangeObject<string>[] {
59 return jsonDiff.diff(oldStr, newStr, options);
60}
61
62
63// This function handles the presence of circular references by bailing out when encountering an

Callers 1

json.jsFile · 0.90

Calls 1

diffMethod · 0.80

Tested by

no test coverage detected