# JSON to object

**URL:** <https://forums.fusetools.com/t/json-to-object/1365>\
**Category:** How-to Discussions\
**Created:** [December 23, 2015, 8:50am UTC](https://forums.fusetools.com/t/json-to-object/1365 "2015-12-23T08:50:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![justinksr](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/justinksr/32/158_2.png) [@justinksr](https://forums.fusetools.com/u/justinksr)\
**Post date:** [December 23, 2015, 8:50am UTC](https://forums.fusetools.com/t/json-to-object/1365/1 "2015-12-23T08:50:12Z")

</div>

Hi, I’m trying to fetch and display the names of users using parse… But I can’t get it to work. Here’s what I’ve been doing…

```auto
new Parse.Query(users).find().then(function(results){
    for(var i=0;i<results.length;i++){
        myuser[i] = results[i];
    }
}

```

And in the ux I have…

```auto
<StackPanel>
    <Each Items="{myuser}">
        <Text Value="{name}" />
    </Each>
</StackPanel>

```

---

<div class="post-metadata">

**Author:** ![Bjorn-Olav\_Strand](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/bjorn-olav_strand/32/583_2.png) [@Bjorn-Olav\_Strand](https://forums.fusetools.com/u/Bjorn-Olav_Strand)\
**Post date:** [December 23, 2015, 9:20am UTC](https://forums.fusetools.com/t/json-to-object/1365/2 "2015-12-23T09:20:38Z")

</div>

This has nothing to do with JSON. To get databinding in to your UX you need to use `Observable` in your JavaScript.

```auto

var Observable = require('FuseJS/Observable');
myuser = Observable();

new Parse.Query(users).find().then(function(results){
  for(var i=0;i<results.length;i++){
    myuser.add(results[i]);
  }
}

```
