> For the complete documentation index, see [llms.txt](https://docs.frends.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.frends.com/tasks/tasks/json.md).

# JSON

Frends offers seamless integration with [JSON format](https://en.wikipedia.org/wiki/JSON), enabling you to effortlessly connect and automate data flows between your systems using the JSON format.

Frends has tasks for performing all core JSON operations.

By leveraging Frends' task-based approach, you can configure and customize JSON integrations according to your specific requirements. Frends offers a wide range of tasks that facilitate integrations to a variety of systems and protocols.

## Use cases

Below you will find typical use cases for JSON integrations and how they are implemented in Frends.

### Parse a JSON file and save data to database

By using the file trigger and the [`ConvertJSONStringToJToken`](/tasks/tasks/json/convertjsonstringtojtoken.md) task we can create an integration that parses a JSON coming from a file and saves the data to the database.

<figure><img src="/files/zuOFIi2S9SyUcNMGPix5" alt=""><figcaption><p>Parse</p></figcaption></figure>

### Query the JSON data using JsonPath

By using the [`Query`](/tasks/tasks/json/query.md) task we can create an integration that queries the JSON document for data using a JSON path expression.

<figure><img src="/files/DK7jNikyevGtnwHUHnhu" alt=""><figcaption><p>Query</p></figcaption></figure>


---

# 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 dynamically by asking a question.

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

```
GET https://docs.frends.com/tasks/tasks/json.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
