Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #90064

Re: Json Comaprision

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!goblin1!goblin3!goblin.stu.neva.ru!panix!gordon
From John Gordon <gordon@panix.com>
Newsgroups comp.lang.python
Subject Re: Json Comaprision
Date Wed, 6 May 2015 16:27:49 +0000 (UTC)
Organization PANIX Public Access Internet and UNIX, NYC
Lines 14
Message-ID <midfe5$ma7$1@reader1.panix.com> (permalink)
References <mailman.164.1430902487.12865.python-list@python.org>
NNTP-Posting-Host panix1.panix.com
X-Trace reader1.panix.com 1430929669 22855 166.84.1.1 (6 May 2015 16:27:49 GMT)
X-Complaints-To abuse@panix.com
NNTP-Posting-Date Wed, 6 May 2015 16:27:49 +0000 (UTC)
User-Agent nn/6.7.3
Xref csiph.com comp.lang.python:90064

Show key headers only | View raw


In <mailman.164.1430902487.12865.python-list@python.org> pra devOPS <siv.devops@gmail.com> writes:

> I wanted to compare two json files ignoring few of the keys in the json
> files.

> Can anybody suggest me few things?

Load each json file into a python object, delete the keys you don't care
about, and compare the two objects.

-- 
John Gordon         Imagine what it must be like for a real medical doctor to
gordon@panix.com    watch 'House', or a real serial killer to watch 'Dexter'.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Json Comaprision pra devOPS <siv.devops@gmail.com> - 2015-05-05 12:55 -0700
  Re: Json Comaprision John Gordon <gordon@panix.com> - 2015-05-06 16:27 +0000
    Re: Json Comaprision pra devOPS <siv.devops@gmail.com> - 2015-05-26 05:57 -0700
  Re: Json Comaprision Denis McMahon <denismfmcmahon@gmail.com> - 2015-05-08 11:22 +0000

csiph-web