Recover data under json

i do not know if I am in the right place but here is my problem I can not get the value of src
under ionic 3 thank’s for all
here is my code .ts

import { Component } from '@angular/core';
import { IonicPage, NavController, NavParams } from 'ionic-angular';
import { ActionSheetController } from 'ionic-angular';
import { Http, Headers} from '@angular/http';
import 'rxjs/add/operator/map';

 * Generated class for the ActualitésPage page.
 * See for more info on
 * Ionic pages and navigation.

  selector: 'page-actualités',
  templateUrl: 'actualités.html',
export class ActualitésPage {

  constructor(public navCtrl: NavController, public navParams: NavParams, public http: Http) {

  ionViewDidLoad() {
    console.log('ionViewDidLoad ActualitésPage');

   .map(res => res.json())
   .subscribe(res =>{
     this.users = res.nodes;
     alert("erreur chargement Json");


my html code

  Generated template for the ActualitésPage page.

  See for more info on
  Ionic pages and navigation.

    <button ion-button menuToggle>
      <ion-icon name="menu"></ion-icon>
<ion-content padding> 
   <button ion-button (click)="loadJson()">
   <ion-item *ngFor="let user of users">
  <ion-avatar item-start>
    <img src="">

and the json

"node": {
"title": "Cameroun – Affaire MIDA : neuf suspects interpellés et livrés à la justice, sept autres recherchés",
"Image descriptives": {
"src": "",
"alt": ""

I have already tried this without success



is your key in json “Image descriptives” really with a space?

Best regards, anna-liebt

Don’t abuse any like this, and always initialize all object properties referenced by templates to something sane (like []).

Yes, and that’s my real problem

that mean you have solved it this way or what is stopping you from changing that?

Imho it is better, that the service delivers json with appropriate keys.

I have no idee how to use a key with space inside string interpolation etc. Maybe someone else.

You can replace the key. See google replace key in json.

Best regards, anna-liebt

{{foo['bar baz']}}


great. Thank you.

Best regards, anna-liebt

Sorry, I had no right to write for a certain period of time