Re: how to compare below 2 json structure in python

2012-06-21 Thread MRAB
On 21/06/2012 19:16, hisan wrote: sample_json1={{ "globalControlId": 72, "value": 0, "controlId": 2 }, { "globalControlId": 77, "value": 3, "controlId": 7 } } sample_json2={ { "globalControlId": 77, "value": 3,

Re: how to compare below 2 json structure in python

2012-06-21 Thread John Gordon
In hisan writes: > sample_json1={{ >"globalControlId": 72, >"value": 0, >"controlId": 2 >}, >{ >"globalControlId": 77, >"value": 3, >"controlId": 7 >} > } > sample_json2={ >{ >"globalControlId": 77, >"value": 3, >

how to compare below 2 json structure in python

2012-06-21 Thread hisan
sample_json1={{ "globalControlId": 72, "value": 0, "controlId": 2 }, { "globalControlId": 77, "value": 3, "controlId": 7 } } sample_json2={ { "globalControlId": 77, "value": 3, "controlId": 7 }, { "globalContr