common.json
custom_pua_remove
def custom_pua_remove(obj: Any) -> Any
Removes the PUA data type marker and leaves the correctly serialized type representation. Unmarked values are returned as-is.
may_have_pua
def may_have_pua(line: bytes) -> bool
Checks if bytes string contains pua marker
SupportsJson Objects
class SupportsJson(Protocol)
Minimum adapter for different json parser implementations