a guest Aug 19th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- def load_json(input_json):
- with open(input_json, 'r') as l_json:
- data = l_json.read().replace("@odata.context", "odataContext")
- data = json.loads(data, object_hook=lambda d: namedtuple('data', d.keys())(*d.values()))
RAW Paste Data