Jsony
An experimental fast compiling serialization and deserialization rust library for JSON like formats.
WARNING: Jsony is currently in early development and makes extensive use of unsafe.
Features
- Fast compile times
- Competitive runtime performance
- Featureful derive macros for implementing To/From for various data formats
- Infallible serialization guaranteed to succeed via the type system
- Data formats:
- JSON (optional extension: trailing commas, comments, unquoted keys)
- Compact Binary Encoding with zerocopy and versioning support.
- Lazy JSON parser for efficiently extracting small fragments.
- JSON templating macros
- Encode directly to a file or stack allocated to buffer.
Example
Acknowledgements
The derive feature set is largely based of serde
and serde_with
.
The json parser is heavily inspire by jiter
and serde_json
.