# Por que o JSONPath não é reconhecido e como resolver

JSONPath é um conjunto de expressões usadas para consultar valores em um objeto JSON. Você pode usar as expressões para navegar por um JSON e recuperar elementos, elementos aninhados e *arrays*.

Na Digibee Integration Platform, você pode usar JSONPath em alguns conectores específicos, como no [**JSON Path Transformer**](/documentation/connectors-and-triggers/pt-br/connectors/tools/json-path-transformer.md), em expressões *Double Braces* [usando a função JSONPATH()](/documentation/connectors-and-triggers/pt-br/double-braces/double-braces-functions.md#de-json) ou para pesquisar informações no [Painel de execução](/documentation/developer-guide/pt-br/development-cycle/build-overview/canvas/execution-panel.md).

Atualmente usamos duas bibliotecas JSONPath:

* Para conectores e para a função JSONPATH() usamos a [biblioteca Jayway JsonPath](https://github.com/json-path/JsonPath).
* Para o Painel de execução usamos a [biblioteca JSONPath Plus](https://www.npmjs.com/package/jsonpath-plus).

Por exemplo, você pode usar a seguinte expressão para conectores e a função JSONPATH():

```json
$.body.data[0].attributes.columns[1].values[?(@.length()==1)]..*
```

E para o Painel de execução, você pode usar a seguinte expressão:

```json
$.body.data[0].attributes.columns[1].values[?(@.length==1)]..*
```

Leia a documentação de cada biblioteca para entender como criar expressões JSONPath:

* [Jayway JsonPath](https://github.com/json-path/JsonPath)
* [JSONPath Plus](https://www.npmjs.com/package/jsonpath-plus)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.digibee.com/documentation/troubleshooting/pt-br/integration-issues/jsonpath-not-recognized.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
