Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.016 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'json': 0.07; 'ignoring': 0.09; 'objects.': 0.09; 'replied': 0.09; 'cc:addr:python-list': 0.10; 'python': 0.11; 'files.': 0.13; 'suggest': 0.15; 'hey': 0.15; 'wed,': 0.15; 'wrote:': 0.16; '>': 0.18; 'load': 0.20; 'compare': 0.20; 'email addr:gmail.com>': 0.20; 'cc:2**0': 0.21; 'cc:addr:python.org': 0.21; 'keys': 0.22; 'killer': 0.22; 'cc:no real name:2**0': 0.23; 'am,': 0.23; '2015': 0.23; 'header :In-Reply-To:1': 0.24; 'object,': 0.27; 'message- id:@mail.gmail.com': 0.28; 'delayed': 0.29; 'url:mailman': 0.31; 'anybody': 0.32; 'url:python': 0.33; 'file': 0.34; 'received:google.com': 0.34; 'url:listinfo': 0.35; 'done': 0.35; 'skip:& 60': 0.35; 'url:org': 0.36; 'thanks': 0.36; 'two': 0.37; 'subject:: ': 0.37; 'delete': 0.37; 'files': 0.38; 'wanted': 0.39; 'john': 0.61; 'real': 0.61; 'watch': 0.62; 'medical': 0.63; 'serial': 0.70; 'about,': 0.84; 'email addr:panix.com': 0.84; 'to:addr:gordon': 0.84; 'doctor': 0.91; 'imagine': 0.96 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=+6FND1iGrcQvt53op1M1QzBxDexsXtA5MrPio/6QmoM=; b=Q2xs8haiaNKJ6bNL5Ve37xBLR+uzB8Mvd/KdhI9I6NhRExP+yPGXi50QXXyEAU3LdZ 6ZzxruOqjPva9cU5gHhg0nYLFowK7FwX9rM8zK9xQzo/M1TCesIZ7W2o/MrKp+WTyl6i bso7dkhA8XWllxMWBi3RgqT1UWkweG1mkfghICZlXN0KSeoUTWcZUuYw/43vCQ46iGI3 dLtQS0s5+M/3yVNHbx82vuUzSr9l/9nA+PHbFcArD5yOMXA/eFCqnb2aRYGgWyvjkp73 m5eUsOTouNRK0ZUVI2Em6gp9RkOJAYHnHwnc+7AEFJIMo2L0V7HHepF3HgMfDvKfdkHa HqyQ== MIME-Version: 1.0 X-Received: by 10.202.229.139 with SMTP id c133mr20118553oih.99.1432645039239; Tue, 26 May 2015 05:57:19 -0700 (PDT) In-Reply-To: References: Date: Tue, 26 May 2015 05:57:19 -0700 Subject: Re: Json Comaprision From: pra devOPS To: John Gordon Cc: python-list@python.org Content-Type: multipart/alternative; boundary=001a11408632a738460516fbaa52 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 69 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1432645042 news.xs4all.nl 2955 [2001:888:2000:d::a6]:42487 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:91243 --001a11408632a738460516fbaa52 Content-Type: text/plain; charset=UTF-8 Hey all thanks for the answers, I am done wiht the same . Sorry fore delayed replied On Wed, May 6, 2015 at 9:27 AM, John Gordon wrote: > In 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'. > > -- > https://mail.python.org/mailman/listinfo/python-list > --001a11408632a738460516fbaa52 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hey all thanks for the answers,

I am do= ne wiht the same .

Sorry fore delayed replied

On Wed, Ma= y 6, 2015 at 9:27 AM, John Gordon <gordon@panix.com> wrote:
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 jso= n
> files.

> Can anybody suggest me few things?

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

--
John Gordon=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Imagine what it must be like f= or a real medical doctor to
gordon@panix.com=C2=A0 =C2=A0 watch= 'House', or a real serial killer to watch 'Dexter'.

--
https://mail.python.org/mailman/listinfo/python-list

--001a11408632a738460516fbaa52--