Skip to content

Instantly share code, notes, and snippets.

@OniOni
Last active May 31, 2017 21:57
Show Gist options
  • Save OniOni/c4c7409b9be71163766bc8fcf3930c62 to your computer and use it in GitHub Desktop.
Save OniOni/c4c7409b9be71163766bc8fcf3930c62 to your computer and use it in GitHub Desktop.
JSON diff (old is breaking, new is reverted version that works)
diff /tmp/old.json /tmp/new.json
diff --git a/tmp/old.json b/tmp/new.json
index e78647a..1f44691 100644
--- a/tmp/old.json
+++ b/tmp/new.json
@@ -1,9 +1,9 @@
{
"meta": {
- "local_request_id": "98c590b8-b75c-460c-9ab7-5c0e79b6fc01",
+ "local_request_id": "0f083ba1-f784-4f26-940e-c70895d0b292",
"browser_session_id": null,
"caller_client_id": "42",
- "code_version": "065f548",
+ "code_version": "328b9a4",
"originating_app_id": null,
"request_json_valid": null,
"referring_caller_client_id": null,
@@ -265,14 +265,14 @@
"title": "Best Bank Account Bonuses and Promotions"
},
{
- "url": "/blog/banking/best-free-checking-accounts?TRK_App=bkTool&TRK_Location=relContent&TRK_Format=tile&TRK_Destination=freeCkRUP&TRK_Type=Decide&TRK_Vertical=Banking&TRK_Topic=Checking+Accounts",
- "img": "icon-nw-cc-best-med-D",
- "title": "Best Free Checking Accounts of 2016"
- },
- {
"url": "/blog/banking/best-national-banks?TRK_App=bkTool&TRK_Location=relContent&TRK_Format=tile&TRK_Destination=natBkRUP&TRK_Type=Decide&TRK_Vertical=Banking&TRK_Topic=Checking+Accounts",
"img": "icon-Piggy_bank-01",
"title": "Best National Banks of 2016"
+ },
+ {
+ "url": "/blog/banking/best-free-checking-accounts?TRK_App=bkTool&TRK_Location=relContent&TRK_Format=tile&TRK_Destination=freeCkRUP&TRK_Type=Decide&TRK_Vertical=Banking&TRK_Topic=Checking+Accounts",
+ "img": "icon-nw-cc-best-med-D",
+ "title": "Best Free Checking Accounts of 2016"
}
],
"student-checking": []
diff /tmp/rates_old.json /tmp/rate_new.json ⏎
diff --git a/tmp/rates_old.json b/tmp/rate_new.json
index 454ac8a..ac2e7d9 100644
--- a/tmp/rates_old.json
+++ b/tmp/rate_new.json
@@ -1,9 +1,9 @@
{
"meta": {
- "local_request_id": "79b4cda8-b2ce-4b40-a126-be05f94c23bb",
+ "local_request_id": "0a093d14-0ddd-4dd1-a684-a897b19818cc",
"browser_session_id": null,
"caller_client_id": "42",
- "code_version": "065f548",
+ "code_version": "328b9a4",
"originating_app_id": null,
"request_json_valid": null,
"referring_caller_client_id": null,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment