jmespath / jmespath/go-jmespath

Case-insensitive search with JMESPath

Open
#62 0 comments 3 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
621
Forks
101
PR merge metrics
No merged PRs in 30d

Description

Simple question: How to do a case-insensitive searching with JMESPath?

Let's say to search for `foo` in this JSON:

```
[
"foo",
"foobar",
"barfoo",
"bar",
"baz",
"barbaz",
"FOO"
]
```

Here is the case-sensitive search query:

```
[?contains(@, 'foo')]
```

It will returns `["foo", "foobar", "barfoo"]` but it misses `"FOO"`.

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.