So i am really confused right now, not sure if I'm being stupid or not but.. when my page loads I want to bind some localStorage to a variable called JsonData.

```
    $(document).ready(function() {

    var JsonData = localStorage.getItem(0);

    .....

```

Here is a screen shot of my console to prove localStorage.getItem(0) has a item on page load.

![enter image description here](https://i.stack.imgur.com/VQbvS.png)

Any ideas?