-
Notifications
You must be signed in to change notification settings - Fork 140
/
doc.go
19 lines (19 loc) · 599 Bytes
/
doc.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Package gojsonq provides a simple, elegant and fast ODM like API to access/query JSON document.
//
// JSON document can be read from file, string or io.Reader.
// Accessing the value of json property or querying document is simple as the example below:
//
// package main
//
// import "github.com/thedevsaddam/gojsonq"
//
// const json = `{"name":{"first":"Tom","last":"Hanks"},"age":61}`
//
// func main() {
// name := gojsonq.New().FromString(json).Find("name.first")
// println(name.(string)) // Tom
// }
//
// For more details, see the documentation and examples.
//
package gojsonq