Writing JSON to file and restoring the data to Observable

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?


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.

Yeh thanks for that suggestion? Any solution then?

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