How to use the ujson.scanner function in ujson

To help you get started, we’ve selected a few ujson examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github luissilva1044894 / Pyrez / pyrez / utils / json / __init__.py View on Github external
def __init__(self, *args, **kw):
    _json.JSONDecoder.__init__(self, *args, **kw)
    #_json.JSONDecoder.__init__(self, object_hook=self.object_hook, *args, **kw)
    self.parse_string = new_scanstring
    self.scan_once = _json.scanner.py_make_scanner(self) # Use the python version as the C version do not use the new parse_string