Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def jsonToOrderedData(text): return json.JSONDecoder( object_pairs_hook=OrderedDict, ).decode(text)
Ultra fast JSON encoder and decoder for Python