MCPcopy Create free account
hub / github.com/LianjiaTech/json-diff / diff

Method diff

src/main/java/com/ke/diff/Diff.java:79–81  ·  view source on GitHub ↗

@param strA 要比较的第一个字符串 @param strB 要比较的第二个字符串 @return 用来展示的diff结果

(String strA, String strB)

Source from the content-addressed store, hash-verified

77 * @return 用来展示的diff结果
78 */
79 public List<Result> diff(String strA, String strB) {
80 return diffElement(new JsonParser().parse(strA), new JsonParser().parse(strB));
81 }
82
83 public Diff() {
84 }

Callers

nothing calls this directly

Calls 1

diffElementMethod · 0.95

Tested by

no test coverage detected