compare-go-json
A comparison of several go JSON packages. (by ohler55)
orjson
Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy (by ijl)
Our great sponsors
compare-go-json | orjson | |
---|---|---|
5 | 17 | |
18 | 5,540 | |
- | - | |
0.0 | 8.3 | |
almost 2 years ago | 6 days ago | |
Go | Python | |
- | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
compare-go-json
Posts with mentions or reviews of compare-go-json.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-04-12.
- The fastest tool for querying large JSON files is written in Python (benchmark)
-
OjG now has a tokenizer that is almost 10 times faster than json.Decode
jsoniter is json-iterator/go. It is the 3rd column at https://github.com/ohler55/compare-go-json
orjson
Posts with mentions or reviews of orjson.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-03-07.
- JSON dans les projets data science : Trucs & Astuces
-
JSON in data science projects: tips & tricks
orjson is the fastest JSON library available for python. It natively manages dataclass objects, datetime, numpy and UUID objects.
- Segunda linguagem
-
Litestar 2.0
As we began venturing down that road, a few things emerged that would constitute significant changes to some of the core parts of Litestar, but there were two things in particular that started a chain reaction of changes by opening up further possibilities: The new DTOs and our switch from orjson to msgspec.
- orjson: Fast, correct Python JSON lib (supports dataclasses, datetimes, numpy)
-
Starlite development updates January ’23
In version 1.45.0, we introduced msgspec as our serialization backend, replacing orjson. This had some immediate performance benefits, but that's not the main reason we made the switch.
-
Making Python classes serializable to/from JSON
Doesn't orjson do that already?
-
Processing JSON 2.5x faster than simdjson with msgspec
orjson
-
Benchmarking Python JSON serializers - json vs ujson vs orjson
For most cases, you would want to go with python’s standard json library which removes dependencies on other libraries. On other hand you could try out ujsonwhich is simple replacement for python’s json library. If you want more speed and also want dataclass, datetime, numpy, and UUID instances and you are ready to deal with more complex code, then you can try your hands on orjson
-
Json.dump new line with multiple values in key value pair.
Try https://github.com/ijl/orjson. Not exactly sure if that can help.
What are some alternatives?
When comparing compare-go-json and orjson you can also consider the following projects:
jsoniter - A high-performance 100% compatible drop-in replacement of "encoding/json"
ujson
msgspec - A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML
ormsgpack - Msgpack serialization/deserialization library for Python, written in Rust using PyO3 and rust-msgpack. Reboot of orjson. msgpack.org[Python]
comparePlus - Compare plugin for Notepad++
ojg - Optimized JSON for Go
pysimdjson - Python bindings for the simdjson project.
db-benchmark - reproducible benchmark of database-like ops
cookiecutter-fastapi-firestore
sqlite-utils - Python CLI utility and library for manipulating SQLite databases
mashumaro - Fast and well tested serialization library
compare-go-json vs jsoniter
orjson vs ujson
compare-go-json vs msgspec
orjson vs ormsgpack
compare-go-json vs comparePlus
orjson vs msgspec
compare-go-json vs ojg
orjson vs pysimdjson
compare-go-json vs db-benchmark
orjson vs cookiecutter-fastapi-firestore
compare-go-json vs sqlite-utils
orjson vs mashumaro