https://github.com/hellerve/bjson
Fast native JSON parser for zepto
https://github.com/hellerve/bjson
Last synced: 11 months ago
JSON representation
Fast native JSON parser for zepto
- Host: GitHub
- URL: https://github.com/hellerve/bjson
- Owner: hellerve
- Created: 2016-11-24T15:06:32.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-24T15:31:57.000Z (over 9 years ago)
- Last Synced: 2025-02-12T05:12:22.382Z (over 1 year ago)
- Language: Haskell
- Size: 1.95 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bjson
`bjson` is a small JSON decoder for zepto. It wraps Haskell's `Text.JSON`.
# Installation
```
zeps install hellerve/bjson
```
## Usage
```clojure
(load "bjson/bjson")
(import-all "bjson")
(json:decode "{\"hello\": \"json\"}")
; => #{hello json}
; wrapper around decode->catch-error
(json:decode? "invalid-json")
; =>
```
Have fun!