Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def _orjson_dumps(v, *, default) -> str:
return orjson.dumps(v, default=default, option=orjson.OPT_NON_STR_KEYS).decode()