from pprint import pprint
import config
import re
import sys
import io
sys.path.append("lib")
import binascii

hex = '5b5b2270726f706f73616c222c207b22656e645f65706f6368223a202231343735323938303030222c2022676f7665726e616e63655f6f626a6563745f6964223a20312c20226964223a206e756c6c2c20227061796d656e745f61646472657373223a2022586b715548697850576836546e7a6e437237366a663933745469646541614c71506b222c20227061796d656e745f616d6f756e74223a2022313030222c202270726f706f73616c5f6e616d65223a202268656c6c6f776f726c6436222c202273746172745f65706f6368223a202231343732373036303030227d5d5d'

json = binascii.unhexlify( hex )

print json

# binascii.hexlify(json.dumps([]))
# binascii.hexlify(json.dumps(objects, sort_keys = True))
# json = binascii.unhexlify(self.governance_object["object_data"])

from pprint import pprint
import config
import re
import sys
import io
sys.path.append("lib")
import binascii

hex = '5b5b2270726f706f73616c222c207b22656e645f65706f6368223a202231343735323938303030222c2022676f7665726e616e63655f6f626a6563745f6964223a20312c20227061796d656e745f61646472657373223a2022586b715548697850576836546e7a6e437237366a663933745469646541614c71506b222c20227061796d656e745f616d6f756e74223a2022313030222c202270726f706f73616c5f6e616d65223a20226368726f6e6f2d747269676765722d7061727479222c202273746172745f65706f6368223a202231343732373036303030227d5d5d'

json = binascii.unhexlify( hex )

print json

# binascii.hexlify(json.dumps([]))
# binascii.hexlify(json.dumps(objects, sort_keys = True))
# json = binascii.unhexlify(self.governance_object["object_data"])

update dehex