How to get specific data from JSON response


#1

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”)

Refer to this image:

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


#2

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


#3

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