Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andrewchambers/janet-jdn
https://github.com/andrewchambers/janet-jdn
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/andrewchambers/janet-jdn
- Owner: andrewchambers
- License: mit
- Created: 2020-01-27T01:27:59.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-06-26T02:35:40.000Z (5 months ago)
- Last Synced: 2024-08-04T04:01:05.966Z (3 months ago)
- Language: Janet
- Size: 7.81 KB
- Stars: 19
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-janet - jdn
README
# jdn
Janet data notation. A set of convenience wrappers around the Janet parser api.
# Quick Examples
```
(import jdn)(jdn/encode @[1 nil 2])
"@[1 nil 2]"
(jdn/decode-values "")
@[]
(jdn/decode-values "a b c")
@[a b c]
(jdn/decode "a b")
a
(jdn/decode "nil")
nil
```