# Display a json object into an ionic list grouping by an item

**URL:** <https://forum.ionicframework.com/t/display-a-json-object-into-an-ionic-list-grouping-by-an-item/135994>\
**Category:** ionic-v3\
**Created:** [July 23, 2018, 7:22pm UTC](https://forum.ionicframework.com/t/display-a-json-object-into-an-ionic-list-grouping-by-an-item/135994 "2018-07-23T19:22:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![souma-19](https://avatars.discourse-cdn.com/v4/letter/s/ecccb3/32.png) [@souma-19](https://forum.ionicframework.com/u/souma-19)\
**Post date:** [July 23, 2018, 7:22pm UTC](https://forum.ionicframework.com/t/display-a-json-object-into-an-ionic-list-grouping-by-an-item/135994/1 "2018-07-23T19:22:52Z")

</div>

Hi dear all , i need to display list of student for my app , i did a web service using php to get student names and encode it as a json , i got the result correctly then in my provider ( reddit-service) like shown below ![provider%20function](https://global.discourse-cdn.com/ionicframework/original/3X/b/1/b1d9f8c429e778d702bc4be8e2904858997d4864.jpg)  
i got a list of students wich contains buttons , each student is in an item , i tried to declare an array and get the data stored in it with the \*ngfor and that worked perfectly , but i need to get this data from the json i got from that url , i’m just a beginner , i did a research but got nothing useful , my html is this

 ![html%20code](https://global.discourse-cdn.com/ionicframework/original/3X/c/9/c9d409152b21191250f1a84e1a8379ad28ba86ad.jpg)  
do u have any idea please , i need to fix this as soon as possible

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:29pm UTC](https://forum.ionicframework.com/t/display-a-json-object-into-an-ionic-list-grouping-by-an-item/135994/2 "2021-07-19T21:29:00Z")

</div>

Closed on July 19, 2021, 9:29pm UTC


