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

https://github.com/youpy/go-jsonl


https://github.com/youpy/go-jsonl

Last synced: 10 months ago
JSON representation

Awesome Lists containing this project

README

          

# go-jsonl

## Usage

```go
import "github.com/youpy/go-jsonl"

type foo struct {
Bar string `json:"bar"`
}

func main() {
var result []foo

jsonlData := `{"bar":"aaa"}
{"bar":"bbb"}`

err := jsonl.Unmarshal([]byte(jsonlData), &result)
}
```