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, "controlId": 7 }, { "globalControlId": 72, "value": 0, "controlId": 2 } }
That doesn't look like valid JSON. The only container types in JSON are list (delimited by "[" and "]") and dict (delimited by "{" and "}"). -- http://mail.python.org/mailman/listinfo/python-list