# 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="https://943070617-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbKSyz9raClfug01cr4Yb%2Fuploads%2FENllHwiOmq1kqN7vaw78%2Fimage_2023-10-04_094457669.png?alt=media&#x26;token=dc6ddbee-73b0-4f10-a9cf-8cb2d204e9a6" 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="https://943070617-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbKSyz9raClfug01cr4Yb%2Fuploads%2FibiZbMOW6i3zpKsEdFco%2Fimage_2023-10-04_094829012.png?alt=media&#x26;token=76509423-1fa9-413e-99d5-8fd499a7ae68" alt=""><figcaption><p>Enter Text needed to convert</p></figcaption></figure>

<figure><img src="https://943070617-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbKSyz9raClfug01cr4Yb%2Fuploads%2FwrqBf43xgnEpkhLLoyax%2Fimage_2023-10-04_095638739.png?alt=media&#x26;token=4721c953-659b-4e41-bbd3-e53964a4b144" alt=""><figcaption><p>Convert successful</p></figcaption></figure>
