Jsony
An experimental fast compiling serialization and deserialization rust libary for JSON like formats.
WARNING: Jsony is currently only a prototype, makes extensive use of unsafe and lacks extensive testing. It is not recommended to be used for external facing systems at this time.
Features
- Fast compile times
- Competitive runtime performance
- Featureful derive macros for implementing To/From for various data formats
- Encoding checked at compile time, infallible at runtime
- Data formats
- JSON (optional extension: trailing commas, comments, unquoted keys)
- Custom Binary Encoding
- x-www-form-urlencoded
- Lazy JSON parser for efficiently extracting small fragments.
- JSON templating macros
- Encode directly to a file or stack allocated to buffer.
Example
use Jsony;
Acknowledgements
The derive feature set is largely based of serde
and serde_with
.
The json parser is heavily inspire by jiter
and serde_json
.