Borsh to JSON in Rust using only schemas
tl;dr
Use this utility to generate a binary schema file from a Rust struct that implements the BorshSchema trait. Then using the schema file, easily convert to and from JSON and Borsh. No code generation needed.
Source
https://github.com/wkennedy/bor...
brytelands.hashnode.dev4 min read