# Structs

## Structs

### Make Json PRO File Data

<div data-full-width="false"><figure><img src="/files/8skfa2HmAgZDo5gdSSCc" alt=""><figcaption></figcaption></figure></div>

{% hint style="info" %}

### JSON Pro File Data

## Overview

Creates a struct reference to a file using a directory path and file name. This struct is used across various systems for handling file-based operations such as loading or saving files. It serves as a general-purpose file descriptor, simplifying access to files on the user's machine.

## Inputs

* **File Directory** – The full system path to the folder containing the file.
* **File Name** – The name of the file, including its extension (e.g., **example.json**, **output.txt**).

## Outputs

* **Json Pro File Data** – A unified struct representing the target file. It can be used in nodes related to reading or writing and processing JSON file types. This is the core struct used for file-based operations in this plugin.
  {% endhint %}


---

# 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://doc.uforge.co.uk/json-pro/jsonpro-doc/structs.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.
