# How do i use .saveData()

**URL:** <https://discourse.processing.org/t/how-do-i-use-savedata/21960>\
**Category:** Libraries\
**Created:** [June 17, 2020, 5:02pm UTC](https://discourse.processing.org/t/how-do-i-use-savedata/21960 "2020-06-17T17:02:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![KrishnaGoyal](https://avatars.discourse-cdn.com/v4/letter/k/35a633/32.png) [@KrishnaGoyal](https://discourse.processing.org/u/KrishnaGoyal)\
**Post date:** [June 17, 2020, 5:02pm UTC](https://discourse.processing.org/t/how-do-i-use-savedata/21960/1 "2020-06-17T17:02:35Z")

</div>

I was working on the posenet classifier project. But the .saveData() doesnt seem to be saving the json file. Can someone help me with it?

---

<div class="post-metadata">

**Author:** ![KrishnaGoyal](https://avatars.discourse-cdn.com/v4/letter/k/35a633/32.png) [@KrishnaGoyal](https://discourse.processing.org/u/KrishnaGoyal)\
**Post date:** [June 17, 2020, 5:03pm UTC](https://discourse.processing.org/t/how-do-i-use-savedata/21960/2 "2020-06-17T17:03:22Z")

</div>

Link to the code: [https://editor.p5js.org/KrishnaGoyal/sketches/ZGEULU9fg](https://editor.p5js.org/KrishnaGoyal/sketches/ZGEULU9fg)

---

<div class="post-metadata">

**Author:** ![Sven](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/sven/32/8293_2.png) [@Sven](https://discourse.processing.org/u/Sven)\
**Post date:** [June 17, 2020, 7:47pm UTC](https://discourse.processing.org/t/how-do-i-use-savedata/21960/3 "2020-06-17T19:47:18Z")

</div>

Hello and welcome. 🥳

A file with data is downloaded to my computer when I press `s` on the keyboard. I’m using Safari 13.1.1 on macOS. What browser and operating system are you running?

---

<div class="post-metadata">

**Author:** ![KrishnaGoyal](https://avatars.discourse-cdn.com/v4/letter/k/35a633/32.png) [@KrishnaGoyal](https://discourse.processing.org/u/KrishnaGoyal)\
**Post date:** [June 18, 2020, 2:24am UTC](https://discourse.processing.org/t/how-do-i-use-savedata/21960/4 "2020-06-18T02:24:00Z")

</div>

Chrome windows 10. Doesn’t save on my computer

---

<div class="post-metadata">

**Author:** ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Post date:** [June 18, 2020, 5:00am UTC](https://discourse.processing.org/t/how-do-i-use-savedata/21960/5 "2020-06-18T05:00:41Z")

</div>

See:

> <https://github.com/processing/p5.js-web-editor/issues/1443>
>
> Nature of issue?
> Found a bug
> Details about the bug:
> In Chrome 83, download from sandboxed iframes was removed. This prevents functions such as...
