ricardo-valero / roc-json

Json package for Roc

Home Page:https://lukewilliamboswell.github.io/roc-json/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Json Package for Roc 🤘

Example

Try running some of the examples using Roc cli.

⚠️ --linker=legacy is necessary for this package because of this roc issue

$ roc run examples/simple1.roc --linker=legacy
Successfully decoded image, title:"View from 15th Floor"

Documentation

See https://lukewilliamboswell.github.io/roc-json/

Alternatively, you can also generate docs locally using roc docs package/main.roc and then serve the html files.

Package URL Release

You can use the release URL package in your Roc app. In your app.roc file you can import the json package like so.

app "example"
    packages {
        cli: "https://github.com/roc-lang/basic-cli/releases/download/[REPLACE WITH RELEASE URL].tar.br",
        json: "https://github.com/lukewilliamboswell/roc-json/releases/download/[REPLACE WITH RELEASE URL].tar.br",
    }
    ...

About

Json package for Roc

https://lukewilliamboswell.github.io/roc-json/

License:Universal Permissive License v1.0


Languages

Language:Nix 52.1%Language:Shell 47.9%