# Writing JSON to file and restoring the data to Observable

**URL:** <https://forums.fusetools.com/t/writing-json-to-file-and-restoring-the-data-to-observable/5141>\
**Category:** How-to Discussions\
**Created:** [November 11, 2016, 12:25am UTC](https://forums.fusetools.com/t/writing-json-to-file-and-restoring-the-data-to-observable/5141 "2016-11-11T00:25:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mthomson](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/mthomson/32/174_2.png) [@mthomson](https://forums.fusetools.com/u/mthomson)\
**Post date:** [November 11, 2016, 12:25am UTC](https://forums.fusetools.com/t/writing-json-to-file-and-restoring-the-data-to-observable/5141/1 "2016-11-11T00:25:13Z")

</div>

I’ve put together this sample project to try to figure out Observables and restoring data. I can read data in from a bundled JSON file, add some additional records, check that I can work with the values from the observable by outputting to console, then I write it to a file. When I read it back from the file, I seem to be getting no data in the Observable. It chucks an error at line 63 when I try to output data from the Observable to the console.

Can anyone help with this?

Thanks  
M

- [Attached ZIP file](https://s3.us-east-2.amazonaws.com/fuse-legacy-forum-assets/xWNJilYJcubo-image-1478823755647.zip)

---

<div class="post-metadata">

**Author:** ![Anders\_Schau\_Knatten](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_schau_knatten/32/41_2.png) [@Anders\_Schau\_Knatten](https://forums.fusetools.com/u/Anders_Schau_Knatten)\
**Post date:** [November 29, 2016, 3:33pm UTC](https://forums.fusetools.com/t/writing-json-to-file-and-restoring-the-data-to-observable/5141/2 "2016-11-29T15:33:22Z")

</div>

A quick tip to increase your chances of getting help is to create a minimal reproduction of your issue in a single `.ux` file, small enough to paste directly into the forum post.

---

<div class="post-metadata">

**Author:** ![mthomson](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/mthomson/32/174_2.png) [@mthomson](https://forums.fusetools.com/u/mthomson)\
**Post date:** [December 6, 2016, 2:28am UTC](https://forums.fusetools.com/t/writing-json-to-file-and-restoring-the-data-to-observable/5141/3 "2016-12-06T02:28:51Z")

</div>

Yeh thanks for that suggestion? Any solution then?

---

<div class="post-metadata">

**Author:** ![Bent](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/bent/32/157_2.png) [@Bent](https://forums.fusetools.com/u/Bent)\
**Post date:** [December 6, 2016, 10:05am UTC](https://forums.fusetools.com/t/writing-json-to-file-and-restoring-the-data-to-observable/5141/4 "2016-12-06T10:05:34Z")

</div>

No, we need a minimal reproduction case like Anders said above in order to help you out in an efficient way.
