Skip to content

haskell-miso/miso-aeson

Repository files navigation

miso-aeson

Library to convert between Data.Aeson (Value) and Miso.JSON (Value)

aesonToJSON :: Aeson.Value -> JSON.Value
jsonToAeson :: JSON.Value -> Aeson.Value

Development

Call nix develop to enter a shell with GHC 9.12.2

$ nix develop --experimental-features nix-command --extra-experimental-features flakes

Once in the shell, you can call cabal run to start the development server and view the application at http://localhost:8080

Build (Web Assembly)

$ nix develop .#wasm --command bash -c "make"

Build (JavaScript)

$ nix develop .#ghcjs --command bash -c "make js"

Serve

To host the built application you can call serve

$ nix develop --command bash -c "make serve"

Clean

$ nix develop --command bash -c "make clean"

About

Convert Value between aeson and miso

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

  •  

Packages

No packages published