File size: 124 Bytes
6b53875 | 1 2 3 4 5 | import json
def parse_json_bytes(b: bytes):
try: return json.loads(b.decode("utf-8"))
except Exception: return None
|
6b53875 | 1 2 3 4 5 | import json
def parse_json_bytes(b: bytes):
try: return json.loads(b.decode("utf-8"))
except Exception: return None
|