Skip to content

larsjuvik/json-sharpener

Repository files navigation

JSON Sharpener {⚡️}

Build and Tests Deployment

Sharpen your JSON files with json-sharpener - a library/CLI-tool/web-app for easy JSON to C# converison.

Screenshot of the web application

Folders 📁

  • json-sharpener - the core library for parsing JSON to C#
  • json-sharpener-terminal - terminal parser that uses the core library
  • json-sharpener-wasm - a WebAssembly wrapper around the core library
  • json-sharpener-web - website that uses the WebAssembly core library

Terminal Application 🚀

Usage: json-sharpener [OPTIONS] <FILE>

Examples:
json-sharpener response.json
json-sharpener --class-name Converted response.json
json-sharpener --help

Build

cargo build --release -p json-sharpener-terminal

Web Application

Docker 🐳

docker build -t json-sharpener-web .
docker run -p 8080:80 json-sharpener-web

Without Docker

Before running below step make sure the Rust compiler and wasm-pack is installed (used for building WASM library of json-sharpener).

cd ./json-sharpener-web/
npm run build-wasm && npm run dev

About

A JSON to C# converter written in Rust⚡️

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •