# Text To Json

Text To Json is a node that supports conversion from Text type to Json type.

## Example Usage

This workflow allows you can convert text to json. This example usage workflow would use the following nodes. - Start - Text To Json

<figure><img src="/files/OMO8DQCXS7OmpxxbKZxf" alt=""><figcaption><p>Workflow</p></figcaption></figure>

Start node

&#x20; The start node exists by default when you create a new workflow.

2. Text To Json node (Append)

We will use the Text To Json node to convert text to Json.&#x20;

* Click on the Add node or drag to connect button and enter Text To Json in the search nodes box.
* Enter the text you want to convert to Json. Example: { "Employees": { "Employee": \[ { "Name": "Nguyen Van A", "Age": 20 }, { "Name": "Tran Thi B", "Age": 18 } ] } }

<figure><img src="/files/W0EDV4nmkptVcSNZBJ5N" alt=""><figcaption><p>Enter Text needed to convert</p></figcaption></figure>

<figure><img src="/files/eNaZzEjuLE7eTYymtce0" alt=""><figcaption><p>Convert successful</p></figcaption></figure>


---

# 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-tech.n8n.vn/text-to-json.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.
