I have created a JSON object which contains arrays, corresponding to the fields of a CSV file, which were parsed using the library papa Parse. I'd like to display these in HTML, but I don't know how to go about extracting the arrays from the JSON object and putting them into a variable to that it can be displayed in html.
typescript
 func(){
    this.fileHasBeenUploaded = true;
    this.csvData = reader.result as string;
    console.log(this.csvData);
    console.log(this.papa.parse(this.csvData));
    this.resultObj = this.papa.parse(this.csvData);}
html
<div *ngIf='fileHasBeenUploaded'>
TESTING TESTING: 
<div *ngFor="let i of resultObj">
  <span *ngFor="let j of i">
    {{j}}
  </span>
</div>
<div>
  the array is: {{resultObj}}
</div>
My nested *ngFor loops give an error, and trying to display the object directly only displays "[object Object]"
 
     
    
{{resultObj | json}}` – julianobrasil Jul 15 '19 at 20:51