Skip to content

Anton-4/roc-json

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Json Package for Roc 🤘

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

Example

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

Documentation

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

Alternatively, 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] {
    cli: platform "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

fork of lukewilliamboswell/roc-json for contributing

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Roc 97.1%
  • Shell 1.6%
  • Nix 1.3%