{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic/issues/7720","repository_url":"https://api.github.com/repos/driftyco/ionic","labels_url":"https://api.github.com/repos/driftyco/ionic/issues/7720/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic/issues/7720/comments","events_url":"https://api.github.com/repos/driftyco/ionic/issues/7720/events","html_url":"https://github.com/driftyco/ionic/issues/7720","id":171076725,"number":7720,"title":"Ionic 2: How to iterate through json key, value pairs?","user":{"login":"ungular","id":20945414,"avatar_url":"https://avatars.githubusercontent.com/u/20945414?v=3","gravatar_id":"","url":"https://api.github.com/users/ungular","html_url":"https://github.com/ungular","followers_url":"https://api.github.com/users/ungular/followers","following_url":"https://api.github.com/users/ungular/following{/other_user}","gists_url":"https://api.github.com/users/ungular/gists{/gist_id}","starred_url":"https://api.github.com/users/ungular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ungular/subscriptions","organizations_url":"https://api.github.com/users/ungular/orgs","repos_url":"https://api.github.com/users/ungular/repos","events_url":"https://api.github.com/users/ungular/events{/privacy}","received_events_url":"https://api.github.com/users/ungular/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/driftyco/ionic/labels/v2","name":"v2","color":"313744"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-14T20:23:40Z","updated_at":"2016-08-15T09:15:28Z","closed_at":"2016-08-15T04:37:29Z","body":"I want to display in a grid (key, value) pairs of a json, but I found no way to do that:\r\n- id=              1\r\n- name=        AAA\r\n- surname=   BBB\r\n\r\nhome.ts :\r\n`public records:any = {'id': '1', 'name': 'AAA', 'surname': 'BBB'};`\r\n\r\npseudo home.html :\r\n```\r\n<ion-grid *ngFor=\"let entry[key, value] of records.entries\">\r\n  <ion-row>\r\n    <ion-col>{{entry.key}}</ion-col>\r\n    <ion-col>{{entry.value}}</ion-col>\r\n  </ion-row>\r\n</ion-grid>\r\n```\r\nexists here a solution to achieve this, making changes only in html code?"},"comment":{"url":"https://api.github.com/repos/driftyco/ionic/issues/comments/239760649","html_url":"https://github.com/driftyco/ionic/issues/7720#issuecomment-239760649","issue_url":"https://api.github.com/repos/driftyco/ionic/issues/7720","id":239760649,"user":{"login":"ungular","id":20945414,"avatar_url":"https://avatars.githubusercontent.com/u/20945414?v=3","gravatar_id":"","url":"https://api.github.com/users/ungular","html_url":"https://github.com/ungular","followers_url":"https://api.github.com/users/ungular/followers","following_url":"https://api.github.com/users/ungular/following{/other_user}","gists_url":"https://api.github.com/users/ungular/gists{/gist_id}","starred_url":"https://api.github.com/users/ungular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ungular/subscriptions","organizations_url":"https://api.github.com/users/ungular/orgs","repos_url":"https://api.github.com/users/ungular/repos","events_url":"https://api.github.com/users/ungular/events{/privacy}","received_events_url":"https://api.github.com/users/ungular/received_events","type":"User","site_admin":false},"created_at":"2016-08-15T09:15:28Z","updated_at":"2016-08-15T09:15:28Z","body":"Hi @danbucholtz ,\r\n\r\nSeems that does not exists such a feature in ionic or I'm wrong? If so then this is a change request.\r\n\r\n@cojj90 , how to extract the key & value from json here: `<ion-col>{{entry.key}}</ion-col>` ? In this way does not work.  We can continue our investigation here: https://forum.ionicframework.com/t/ionic-2-how-to-iterate-through-json-key-value-pairs/60566?u=ungular"}}
{"actor":{"display_login":"ungular"}}