# How to create JSON file without wrapping in an array?

**URL:** https://connective.celigo.com/t/how-to-create-json-file-without-wrapping-in-an-array/73
**Category:** Integrator.io
**Tags:** ftp, file-transfer, json
**Created:** [July 18, 2024, 10:47pm UTC](https://connective.celigo.com/t/how-to-create-json-file-without-wrapping-in-an-array/73 "2024-07-18T22:47:13Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![steveklett](https://avatars.discourse-cdn.com/v4/letter/s/e495f1/32.png) [@steveklett](https://connective.celigo.com/u/steveklett)
#### Post date: [July 18, 2024, 10:47pm UTC](https://connective.celigo.com/t/how-to-create-json-file-without-wrapping-in-an-array/73/1 "2024-07-18T22:47:13Z")

</div>

FTP import to create a JSON file for a single record. External system expects the file to contain a single JSON object definition, not an object in an array. Is there a way to prevent Integrator.io from assuming the JSON file contains an array of records?

I want this:

```
{"test":"SO-AU-6"}
```

not this:

```
[{"test":"SO-AU-6"}]
```

I tried defining a JSON document template, but that is giving me a [different set of problems](https://connective.celigo.com/t/error-footer-not-found-in-the-template-when-saving-json-file-to-ftp/74).

Any ideas?

---

<div class="post-metadata">

### Author: ![tylerlamparter](https://sea1.discourse-cdn.com/flex001/user_avatar/connective.celigo.com/tylerlamparter/32/9204_2.png) [@tylerlamparter](https://connective.celigo.com/u/tylerlamparter)
#### Post date: [July 19, 2024, 12:04am UTC](https://connective.celigo.com/t/how-to-create-json-file-without-wrapping-in-an-array/73/2 "2024-07-19T00:04:30Z")

</div>

@steveklett see solution here: [https://connective.celigo.com/t/error-footer-not-found-in-the-template-when-saving-json-file-to-ftp/74](https://connective.celigo.com/t/error-footer-not-found-in-the-template-when-saving-json-file-to-ftp/74)
