jmespath / jmespath/jmespath.site

example correction: count(@) is not there anymore

Open
#75 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Makefile
Stars
61
Forks
61
PR merge metrics
No merged PRs in 30d

Description

## From examples on jmespath.org:

> current-node¶
> The current-node token can be used to represent the current node being evaluated. The current-node token is useful for functions that require the current node being evaluated as an argument. For example, the following expression creates an array containing the total number of elements in the foo object followed by the value of foo["bar"].
>
> foo[].[count(@), bar

```
$ jp.py -f vminfo.json "virtual_machines.count(@)"
unknown-function: Unknown function: count()
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.