docling-project / docling-project/docling-core

Consider orjson for faster JSON serialization / deserialization

Open
#451 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
282
Forks
214
Avg merge
2d 15h
Merged PRs (30d)
21

Description

Use [orjson](https://github.com/ijl/orjson) for faster JSON serialization / deserialization

## Considerations
- consider any minor transformations needed (e.g. AFAICT orjson's API seems to only include `dumps` and `loads`)
- take into account [these options](https://github.com/ijl/orjson/blob/fb3eb1f729c7e7b019f780af5695722c99c7c695/README.md?plain=1#L237-L272)

## Places to update
https://github.com/search?q=repo%3Adocling-project%2Fdocling-core+%28%22def+save_as_json%22+OR+%22def+load_from_json%22%29&type=code

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.