Arbitrary Data with Serde - The `wasm-bindgen` Guide
rustwasm.github.io