json_typegen
Tools and libraries to create types for Rust, Kotlin, TypeScript and Python from JSON samples (by evestera)
serde_json_borrow
Fast JSON deserialization on borrowed data (by PSeitz)
Our great sponsors
json_typegen | serde_json_borrow | |
---|---|---|
1 | 2 | |
238 | 66 | |
- | - | |
2.1 | 5.1 | |
9 months ago | 7 months ago | |
Rust | Rust | |
Apache License 2.0 | 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.
json_typegen
Posts with mentions or reviews of json_typegen.
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++)
You can use https://github.com/evestera/json_typegen directly, that’s what the website uses internally
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 json_typegen and serde_json_borrow you can also consider the following projects:
shame - A shader EDSL for writing render and compute pipelines in rust
pikkr - JSON parser which picks up values directly without performing tokenization in Rust
json-benchmark - nativejson-benchmark in Rust
darklua - A command line tool that transforms Lua code
optimization-engine - Nonconvex embedded optimization: code generation for fast real-time optimization
wasm-bpf - WebAssembly library, toolchain and runtime for eBPF programs