How do i load json from api?

using ver 2 of framework, how do i make a api request for json (different server) then display using a template ? thank you.

app.request.json(‘http://url/myData.json’, function (data) {
console.log(data);
});

thank u - yes i saw that but then how do you move from data var to a template in v2. loop round json or show in {{ }}

app.request.json(‘http://url/myData.json’, function (data) {
app.data.myVar = data;
});

use it into your template page using this.$root.myVar

Thanks
And if you want to pass an ID parameter from list to another page and use template7 {{}} to render a single record?

List.html -> Item.html