pikkr
JSON parser which picks up values directly without performing tokenization in Rust (by pikkr)
serde_json_borrow
Fast JSON deserialization on borrowed data (by PSeitz)
pikkr | serde_json_borrow | |
---|---|---|
1 | 2 | |
628 | 66 | |
0.0% | - | |
0.0 | 5.1 | |
over 6 years ago | 8 months ago | |
Rust | Rust | |
MIT License | MIT License |
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.
pikkr
Posts with mentions or reviews of pikkr.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-17.
-
Serde Json vs Rapidjson (Rust vs C++)
Finally, there are parsers specifically tuned to only getting a single key as fast as possible.
serde_json_borrow
Posts with mentions or reviews of serde_json_borrow.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-17.
-
Serde Json vs Rapidjson (Rust vs C++)
The rust version also measures allocation overhead by a lot. The c++ version uses “insitu” parsing which means it prefers “borrowing” over allocating new structures (like for strings). You might wanna add https://github.com/PSeitz/serde_json_borrow to your comparison, iiuc it supports a “Value” which borrows from the input. If that’s too slow for you too, you might wanna take a look at an alternative json parser, eg. https://crates.io/crates/simd-json.
- serde_json_borrow: Faster JSON deserialization by reducing allocations via parsing &'ctx str into Value<'ctx>
What are some alternatives?
When comparing pikkr and serde_json_borrow you can also consider the following projects:
json - Strongly typed JSON library for Rust
json-benchmark - nativejson-benchmark in Rust
hjson-rust for serde - Hjson for Rust
json_typegen - Tools and libraries to create types for Rust, Kotlin, TypeScript and Python from JSON samples
json-rust - JSON implementation in Rust
serde - Serialization framework for Rust
json - JSON for Modern C++