# How to put data in a table after extraxting it from a JSON file on the runtime in p5.js

**URL:** <https://discourse.processing.org/t/how-to-put-data-in-a-table-after-extraxting-it-from-a-json-file-on-the-runtime-in-p5-js/11054>\
**Category:** Coding Questions\
**Created:** [May 9, 2019, 7:43am UTC](https://discourse.processing.org/t/how-to-put-data-in-a-table-after-extraxting-it-from-a-json-file-on-the-runtime-in-p5-js/11054 "2019-05-09T07:43:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Procoder](https://avatars.discourse-cdn.com/v4/letter/p/9de0a6/32.png) [@Procoder](https://discourse.processing.org/u/Procoder)\
**Post date:** [May 9, 2019, 7:43am UTC](https://discourse.processing.org/t/how-to-put-data-in-a-table-after-extraxting-it-from-a-json-file-on-the-runtime-in-p5-js/11054/1 "2019-05-09T07:43:37Z")

</div>

If i have a DOM table element how can I insert data in it dynamically during the runtime as its extracted from a JSON file

---

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [May 9, 2019, 8:05am UTC](https://discourse.processing.org/t/how-to-put-data-in-a-table-after-extraxting-it-from-a-json-file-on-the-runtime-in-p5-js/11054/2 "2019-05-09T08:05:41Z")

</div>

i understand that you

- load a JSON array file
- and store it to a table

WHY

- now you want overwrite values in the table?

what is the problem?

and what has that to do with JSON, unless you want to say that you need to save it back to JSON file instead to csv table file??

\_ - \_ - \_ - \_ - \_ - \_ - \_  
you see your question is not easy to understand,

- so you need to write more details,
- link to your code ( or better MCVE ) at [https://editor.p5js.org/](https://editor.p5js.org/)

so we can read and test better to give a better answer.
