Skip to content

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

@caguthrie

Description

@caguthrie

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions