# How to get specific data from JSON response

**URL:** <https://forum.ionicframework.com/t/how-to-get-specific-data-from-json-response/69738>\
**Category:** ionic-v3\
**Created:** [November 10, 2016, 3:34am UTC](https://forum.ionicframework.com/t/how-to-get-specific-data-from-json-response/69738 "2016-11-10T03:34:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wenxuan](https://avatars.discourse-cdn.com/v4/letter/w/ee59a6/32.png) [@wenxuan](https://forum.ionicframework.com/u/wenxuan)\
**Post date:** [November 10, 2016, 3:34am UTC](https://forum.ionicframework.com/t/how-to-get-specific-data-from-json-response/69738/1 "2016-11-10T03:34:02Z")

</div>

Hello everyone,

I am a newbie to ionic 2 and angularjs 2, which also never touch previous version of them.

My problem is:  
I want to get the specific data (distance) from this json response =\>([https://maps.googleapis.com/maps/api/distancematrix/json?origins=5.350334,100.307366&destinations=2.802819,%20102.382430&key=“Enteryourkeyhere”](https://maps.googleapis.com/maps/api/distancematrix/json?origins=5.350334,100.307366&destinations=2.802819,%20102.382430&key=%22Enteryourkeyhere%22))

Refer to this image:

 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/d/a/da7052ca574171b0776dec9bca13c328810fd784.png)

How should i start from scartch??  
Please help me on this.  
Thank you in advance.

---

<div class="post-metadata">

**Author:** ![wangwanzhong](https://avatars.discourse-cdn.com/v4/letter/w/dec6dc/32.png) [@wangwanzhong](https://forum.ionicframework.com/u/wangwanzhong)\
**Post date:** [November 10, 2016, 7:32am UTC](https://forum.ionicframework.com/t/how-to-get-specific-data-from-json-response/69738/2 "2016-11-10T07:32:43Z")

</div>

read ng2 tutorial, refer: [https://angular.io/docs/ts/latest/tutorial/toh-pt6.html](https://angular.io/docs/ts/latest/tutorial/toh-pt6.html)

---

<div class="post-metadata">

**Author:** ![wenxuan](https://avatars.discourse-cdn.com/v4/letter/w/ee59a6/32.png) [@wenxuan](https://forum.ionicframework.com/u/wenxuan)\
**Post date:** [November 10, 2016, 9:01am UTC](https://forum.ionicframework.com/t/how-to-get-specific-data-from-json-response/69738/3 "2016-11-10T09:01:57Z")

</div>

I already figure out how to do that. Anyway, thanks for the link. 🙂
