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
trunk serve --port <port> [--open]
- initial conversion for some reason takes 40+ ms while consequent conversions take up to 1 ms
serde_zipson
panics on integer overflowserde_zipson
repeat feature not working yet, so[1,1,1,1,1,1,1,1,1]
ends up in|ÊÊÊÊÊÊÊÊÊ÷
instead of|Êþþþ^5÷
serde_zipson
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