jmespath.py icon indicating copy to clipboard operation
jmespath.py copied to clipboard

JMESPath is a query language for JSON.

Results 69 jmespath.py issues
Sort by recently updated
recently updated
newest added

When using the **compile()** function in JMESPath with a correct expression, a ParseError is raised unexpectedly. **Issue Details:** - Input JSON data: `{ "name": "John", "last_name": "Doe" }` - JMESPath...

Allow users to specify not found value to distinguish between incorrect expression and actual `None` value in the data. Resolves #186

Below is the JSON output text from a command, trying to fetch FullName and FileVersionRaw where FullName not contains '\msvc\\' ``` { "windows_result.output": [ { "FullName": "E:\\\\app\\\\client\\\\product\\\\client\\\\bin\\\\file.txt", "Mode": "-a----", "Target":...

Consider the following dictionary (which is also valid JSON): my_dict = {"props": {"data.value": [{"name": "Ariel"}]}} How can I access the value "Ariel" here? I tried `jmespath.search("props.data.value[0].name")` and `jmespath.search("props.data\.value[0].name")` but none...

Good evening, I am looking to integrate jmespath into OSSFuzz. If you are not familiar with OSSFuzz, it is Google's platform for continuous fuzzing of open-source software. In order to...

So this is my file: ``` import jmespath a = { "z": 2, "x": 3, "c": 4 } e1 = "z + x" e2 = "x * c" print(jmespath.search(e1, a))...

I have found #4, but I could not find a way to select elements at any level. For example, here I might want to operate on all `foo` elements: ```js...

Example code: ```python import jmespath data = {} my_list = jmespath.search('`[]`', data) my_list.extend([1, 2, 3]) print(my_list) new_data = {} new_list = jmespath.search('`[]`', new_data) new_list.extend([9, 8, 7]) print(new_list) ``` Expected Output:...

JMESPath.py is limited in that only the `dict` and `list` derived containers returned by the built-in `json` library are supported in the object hierarchy due to the use of `isinstance`....