How to use the ujson.__version__ 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 aiogram / aiogram / aiogram / __main__.py View on Github external
def ujson(self):
        try:
            import ujson
        except ImportError:
            return
        return ujson.__version__