This is my Capstone Project for 2024 Summer RustCamp provided by Ukrainian Rust Community.
serde_zipson is serde-compatible Rust implementation of zipson compression format.
This simple web-playground allows to convert JSON data to zipson and vice versa in realtime. It is built on top of Leptos (WASM-based reactive front-end framework) and Tailwind (utility-first CSS framework)
This playground is available on Github Pages
-
Install Rust
-
Install Trunk
-
Add
wasm
target to Rust toolchain:rustup target add wasm32-unknown-unknown
trunk build [--dist <path>]
trunk serve --port <port> [--open]
- initial conversion for some reason takes 40+ ms while consequent conversions take up to 1 ms
serialize_struct
/deserialize_struct
are not implemented yet, so serdederive
doesn't work for structsserialize_enum
/deserialize_enum
are not implemented yet, so serdederive
doesn't work for enums- panics on integer overflow
- object template feature not working yet, so
[{"key":"value1"},{"key":"value2"}]
ends up in|{¨key¨¨value1¨}{ß0¨value2¨}÷
instead of|¦¨key¨‡¨value1¨¨value2¨—÷
- try to attach some JS code editor with syntax highlighting (e.g. Ace Editor) to JSON input using wasm-bindgen
- set up GitHub Actions to deploy to pages