Closed stefanodvx closed 3 weeks ago
Is there any way to deserialize a relaxed JSON structure using orjson? Relaxed JSON is something like that {key: "value"}. The difference is that keys are not quoted.
{key: "value"}
>>> orjson.loads('{key: "value"}') Traceback (most recent call last): ... orjson.JSONDecodeError: unexpected character: line 1 column 2 (char 1)
I don't think so. Your example is not valid json so i don't see a reason to support it.
This supports RFC 8259.
Is there any way to deserialize a relaxed JSON structure using orjson? Relaxed JSON is something like that
{key: "value"}
. The difference is that keys are not quoted.