piwebasync/api/util.py
def json_dump_content(
    content: JSONType,
    *,
    default: Optional[Callable[[Any], Any]]
) -> str:
    """
    Helper to decode orjson.dumps which produces bytes
    """
    return orjson.dumps(content, default=default).decode()

    Helper to decode orjson.dumps which produces bytes
    
Helper to decode orjson.dumps which produces bytes
Helper to decode orjson . dumps which produces bytes
def json_dump_content(
    content: JSONType,
    *,
    default: Optional[Callable[[Any], Any]]
) -> str:
    return orjson.dumps(content, default=default).decode()
def json_dump_content ( content : JSONType , * , default : Optional [ Callable [ [ Any ] , Any ] ] ) -> str : return orjson . dumps ( content , default = default ) . decode ( )
Helper to decode orjson.dumps which produces bytes
Helper to decode orjson . dumps which produces bytes
"""
    Helper to decode orjson.dumps which produces bytes
    """
content
JSONType
default
Optional[Callable[[Any], Any]]