-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Description
It would be cool to have a shorthand way of getting the length of a JSON array. For example with this JSON:
{
"data" : [1, 2, 3]
}... I currently need to do this to check the length:
arr, _ := jq.Array("data")
fmt.Println( len(arr) )It would be nice to be able to do this:
fmt.Println( jq.Length("data") )A small thing, but very handy.
Metadata
Metadata
Assignees
Labels
No labels