Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/juhp/curl-json-lean

CurlJson: a small Lean4 library to fetch JSON with libCurl
https://github.com/juhp/curl-json-lean

Last synced: about 1 month ago
JSON representation

CurlJson: a small Lean4 library to fetch JSON with libCurl

Awesome Lists containing this project

README

        

# curljson

Combines the Lean [Curl](https://reservoir.lean-lang.org/@bergmannjg/Curl)
binding and [Lean.Json](https://leanprover-community.github.io/mathlib4_docs/Lean/Data/Json/Basic.html) to easily get json data from an URL.

Currently there is only one function `curlGetJson` which takes an URL.

## Example

See [example/](https://github.com/juhp/curl-json-lean/blob/main/example/Main.lean) for simple usage.