Orjson

Latest version: v3.10.3

Safety actively analyzes 630169 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 20 of 21

2.0.3

Not secure
Changed

- `orjson.loads()` uses SSE2 to validate `bytes` input.

2.0.2

Not secure
Changed

- Support Python 3.5.

2.0.1

Not secure
Changed

- Publish Windows wheel.

2.0.0

Not secure
Added

- `orjson.dumps()` accepts a `default` callable to serialize arbitrary
types.
- `orjson.dumps()` accepts `datetime.datetime`, `datetime.date`,
and `datetime.time`. Each is serialized to an RFC 3339 string.
- `orjson.dumps(..., option=orjson.OPT_NAIVE_UTC)` allows serializing
`datetime.datetime` objects that do not have a timezone set as UTC.
- `orjson.dumps(..., option=orjson.OPT_STRICT_INTEGER)` available to
raise an error on integer values outside the 53-bit range of all JSON
implementations.

Changed

- `orjson.dumps()` no longer accepts `bytes`.

1.3.1

Not secure
Fixed

- Handle invalid UTF-8 in str.

1.3.0

Not secure
Changed

- Performance improvements of 15-25% on serialization, 10% on deserialization.

Page 20 of 21

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.