# Using App Script with a JSON API

**URL:** https://community.glideapps.com/t/using-app-script-with-a-json-api/20051
**Category:** Community Resources
**Created:** [December 18, 2020, 6:07pm UTC](https://community.glideapps.com/t/using-app-script-with-a-json-api/20051 "2020-12-18T18:07:04Z")
**Posts on this page:** 1
**Showing post:** 16

<div class="post-metadata">

### Author: ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)
#### Post date: [December 19, 2020, 6:50pm UTC](https://community.glideapps.com/t/using-app-script-with-a-json-api/20051/16 "2020-12-19T18:50:24Z")

</div>

Fair point. I think how ImportJSON handles that is by still flattening the data, but allowing you to specify the noInherit parameter to hide or show values in subsequent rows from the parent in the heirarchy. So yes, it’s flat data, but with proper filters and self relations, I think you could still work with it. Messy, but I think still possible.

Maybe if Glide decided to go down a similar path, they could blow out the data into separate tables. Or maybe they could allow us to work with it as an object (object.parent{n}.child{n}.item{n}.value). It’ll be exciting to see how this all develops in the future.

---

_[View the full topic](https://community.glideapps.com/t/using-app-script-with-a-json-api/20051)._
