Skip to content

zoryamba/zipson-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zipson-playground

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

Prerequisites

  1. Install Rust

  2. Install Trunk

  3. Add wasm target to Rust toolchain:

    rustup target add wasm32-unknown-unknown
    

Build project

trunk build

Or run dev server

trunk serve --port <port> [--open]

Known issues

  • initial conversion for some reason takes 40+ ms while consequent conversions take up to 1 ms
  • serde_zipson panics on integer overflow
  • serde_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¨—÷

Further improvements

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published