https://github.com/maki-daisuke/go-simplejson-decoder
A brain-dead simple json.Decoder wrapper for go-simplejson.
https://github.com/maki-daisuke/go-simplejson-decoder
go golang json
Last synced: 3 months ago
JSON representation
A brain-dead simple json.Decoder wrapper for go-simplejson.
- Host: GitHub
- URL: https://github.com/maki-daisuke/go-simplejson-decoder
- Owner: Maki-Daisuke
- License: mit
- Created: 2020-12-04T20:56:15.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-20T16:35:53.000Z (over 5 years ago)
- Last Synced: 2026-03-12T04:56:08.094Z (4 months ago)
- Topics: go, golang, json
- Language: Go
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-simplejson-decoder
A brain-dead simple json.Decoder wrapper for [go-simplejson](https://github.com/bitly/go-simplejson).
# Usage
```
decoder := New(reader)
for {
j, err = decoder.Decode()
if err != nil {
break
}
// Here, j is simplejson object.
// You can access properties of JSON data simply!
i := j.MustMap()["number"].MustInt()
.
.
.
}
```
# LICENCE
MIT License
# Author
Daisuke (yet another) Maki