> For the complete documentation index, see [llms.txt](https://docs.floui.io/guia/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.floui.io/guia/conectores/categorias/manipulacao-de-dados/json.md).

# JSON

Realiza a conversão dos dados recebidos para JSON ou objeto Javascript.

{% tabs %}
{% tab title="Parâmetros" %}

<figure><img src="https://215079342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F226k0cnPTn1PWu9xHcK8%2Fuploads%2FqV0r2RAJxGknetekNUWa%2Fimage.png?alt=media&amp;token=33c3b9e0-4e9a-4e29-8807-fa32a66f0cd1" alt=""><figcaption><p>Parâmetros de configuração</p></figcaption></figure>

<table><thead><tr><th width="169">Campo</th><th width="124" valign="middle">Tipo</th><th>Descrição</th></tr></thead><tbody><tr><td>Descrição</td><td valign="middle">Campo de texto</td><td>Descrição visual do conector no editor de fluxo.</td></tr><tr><td>Modo</td><td valign="middle">Seletor</td><td><p></p><p>Permite selecionar o tipo de conversão, entre:</p><ul><li>De JSON para um objeto;</li><li>De objeto para JSON;</li></ul></td></tr><tr><td>Conteúdo JSON</td><td valign="middle">Campo de texto</td><td>Informa o caminho do conteúdo, dentro do objeto msg, para ser lido e convertido.</td></tr><tr><td>Output path</td><td valign="middle">Campo de texto</td><td> Define o nome de um atributo que irá armazenar a saída de dados do conector dentro do objeto msg no contexto do fluxo atual.</td></tr></tbody></table>
{% endtab %}

{% tab title="Payload" %}

## Sucesso

Ao ser executado com sucesso o conector irá retornar o conteúdo convertido, seja para objeto Javascript ou para JSON String.

<figure><img src="https://215079342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F226k0cnPTn1PWu9xHcK8%2Fuploads%2F0BqtfQ86zdG2EypVn55v%2Fimage.png?alt=media&amp;token=783d29db-06e6-4f0a-bd9d-886e45229d97" alt=""><figcaption><p>Transforma um conteúdo JSON em Objeto Javascript</p></figcaption></figure>

<figure><img src="https://215079342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F226k0cnPTn1PWu9xHcK8%2Fuploads%2FaRCb9ulTRI9RCsAfpjJl%2Fimage.png?alt=media&amp;token=46a9605b-bbe1-4e79-a17e-d902047c126f" alt=""><figcaption><p>Transforma um conteúdo Javascript em JSON String.</p></figcaption></figure>

{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.floui.io/guia/conectores/categorias/manipulacao-de-dados/json.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
