# JSON Outputs

**URL:** <https://forums.knack.com/t/json-outputs/19927>\
**Category:** Get Answers\
**Created:** [October 1, 2025, 11:14am UTC](https://forums.knack.com/t/json-outputs/19927 "2025-10-01T11:14:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![GSH](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/gsh/32/2669_2.png) [@GSH](https://forums.knack.com/u/GSH)\
**Post date:** [October 1, 2025, 11:14am UTC](https://forums.knack.com/t/json-outputs/19927/1 "2025-10-01T11:14:34Z")

</div>

When you export from a table in JSON format what gets spat into the JSON file doesn’t really look like a nice JSON file.

Here is a table output.

What I would like to have here are the field names:

For example instead of field\_25 it says “company name” which is the name of the field.

Does this all come together when the data is requested through the API instead of as table exports?

Cheers.

 ![json_result](https://us1.discourse-cdn.com/flex020/uploads/knack/original/2X/d/df738240a0ccaf67a2241cac2514070301accb55.png)

---

<div class="post-metadata">

**Author:** ![StephenChapman](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/stephenchapman/32/1759_2.png) [@StephenChapman](https://forums.knack.com/u/StephenChapman)\
**Post date:** [October 2, 2025, 12:08am UTC](https://forums.knack.com/t/json-outputs/19927/2 "2025-10-02T00:08:55Z")

</div>

Hi @GSH,

If you query via API, you will still get a similar result.  
You would need to run some code that makes an API call to fetch the JSON data from that grid, replace all the field keys with their table field names, and then download it.  
Happy to write something up if you’d like to DM me?

---

<div class="post-metadata">

**Author:** ![GSH](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/gsh/32/2669_2.png) [@GSH](https://forums.knack.com/u/GSH)\
**Post date:** [October 2, 2025, 6:58am UTC](https://forums.knack.com/t/json-outputs/19927/3 "2025-10-02T06:58:03Z")

</div>

Thanks Stephen. I managed to get a local javascript to do the work for me which is fine for the time being.
