Re: Json Comaprision

2015-05-26 Thread pra devOPS
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.dev...@gmail.com> writes: > > > I wanted to compare two json files ignoring few of the keys in the json > > files. > > > Can anybody

Re: Json Comaprision

2015-05-08 Thread Denis McMahon
On Tue, 05 May 2015 12:55:20 -0700, pra devOPS wrote: > I wanted to compare two json files ignoring few of the keys in the json > files. > > Can anybody suggest me few things? json files usually get imported to either a list or a dictionary (unless they're a simple string or number). If the fi

Re: Json Comaprision

2015-05-06 Thread John Gordon
In pra devOPS 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 m

Re: Json Comaprision

2015-05-06 Thread Mark Lawrence
On 05/05/2015 20:55, pra devOPS wrote: Hi All: I wanted to compare two json files ignoring few of the keys in the json files. Can anybody suggest me few things? Thanks, Siva https://docs.python.org/3/library/json.html#module-json -- My fellow Pythonistas, ask not what our language can do