I have two list of JSON objects:
[{u'amount': 12000, u'address': u'mqdofsXHpePPGBFXuwwypAqCcXi48Xhb2f'},
{u'amount': 1000, u'address': u'mkVuZV2kVtMzddQabFDanFi6DTwWYtgiCn'}]
[{"amount": 12000, "address": "mqdofsXHpePPGBFXuwwypAqCcXi48Xhb2f"},
{"amount": 1000, "address": "mkVuZV2kVtMzddQabFDanFi6DTwWYtgiCn"}]
They might come in different orders, or one might be a subset of the other or just different addresses, I need a function to just say True if both include the same addresses/amounts or False if they are different.
I guess the problem is one has unicode keys/values but the other ones are strings.
I've spent too much time on this simple issue that have no clue what else to do.