Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/juhp/curl-json-lean
- Owner: juhp
- License: apache-2.0
- Created: 2024-11-22T10:45:39.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-11-22T12:11:09.000Z (about 1 month ago)
- Last Synced: 2024-11-22T13:18:28.555Z (about 1 month ago)
- Language: Lean
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.