From 0e197e8c80713d4a3755e0a1d2ccc313ad0221f6 Mon Sep 17 00:00:00 2001 From: byb11 Date: Tue, 20 Apr 2021 09:53:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0json=E4=B8=B2=E5=AF=B9?= =?UTF-8?q?=E6=AF=94=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 04-CustomLibrary/Custometest/JsonDiff.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 04-CustomLibrary/Custometest/JsonDiff.py diff --git a/04-CustomLibrary/Custometest/JsonDiff.py b/04-CustomLibrary/Custometest/JsonDiff.py new file mode 100644 index 0000000..de3b256 --- /dev/null +++ b/04-CustomLibrary/Custometest/JsonDiff.py @@ -0,0 +1,6 @@ +from json_compare import Jcompare + +def json_diff(a,b): + cp=Jcompare() + print(cp.compare(a,b)) + \ No newline at end of file