I am trying to iterate using Angular TS over a nested object structured like that:
{
  "stringKey1": {
    "child": [
      {
        "stringKey2": {
          "child": []
        }
      },
      {
        "stringKey3": {
          "child": []
        }
      },
      {
        "stringKey4": {
          "child": [
            {
              "stringKey5": {
                "child": []
              }
            },
            {
              "stringKey6": {
                "child": []
              }
            }
          ]
        }
      }
    ]
  }
}
Basically each "node" is composed by a string Key and a object {"child" : []} that can have many children with the same structure.
I tried *ngFor with pipe, tried *ngIf to check if it is an array, but I can´t managed to make it work. It´s not possible to know how deep is the structure.
Basically a tried anything I have seen in the internet but I might be missing something.
Any help?
Thanks a lot.