mardi 21 juin 2016

Method to locate sibling key within a JSON object

A newbie to Ember.js trying to locate the sibling within a param.

I'm using a JSON file located at this url that lists all the different Steam games that has the name and appid. See below for example:

{
                "appid": 730,
                "name": "Counter-Strike: Global Offensive"
            },

We currently have an action where when we enter in a name, it will search JSON page, but I'm still struggling a proper way to get the appid.

Any advice, or pointing me in the right direction, would be much appreciated. Thank you.




Aucun commentaire:

Enregistrer un commentaire