Skip to content

Commit

Permalink
Did you mean 'nested'?
Browse files Browse the repository at this point in the history
  • Loading branch information
0xflotus authored Nov 20, 2020
1 parent 81fa9a6 commit d43d16b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func main() {
fmt.Println(parser.Query("[2].pet")) // <nil> <nil>
}
```
## Netsted Query
## Nested Query
```go
package main

Expand Down Expand Up @@ -160,4 +160,4 @@ func main() {
samSkillParser := gojq.NewQuery(samSkills)
fmt.Println(samSkillParser.Query("[1]")) //Sleeping <nil>
}
```
```

0 comments on commit d43d16b

Please sign in to comment.