jmespath / jmespath/jmespath.js

Path with a string that starts with a numeral throws an error

Open
#91 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
847
Forks
101
PR merge metrics
No merged PRs in 30d

Description

Using jmespath 0.15.0

This crashes with error `jmespath.js:501 Uncaught ParserError: Unexpected token type: Number, value: 15`

```
search({ foo: { '15bar': 'baz' } }, 'foo.15bar')
```

How can I access keys if they start with numbers?

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.