`my code is this: *ngFor="let m of Markets | keyvalue">{{m.key | json}} {{m.value | json}}
the problem is that the key is 0,1,2,3,4,5 not TMALL and JD and the value is tmall and all the array that is inside so i want to separate that.
It's a strange problem because the JSON of the database is this one: [{"tmall":["vino","aceite","chocolate","lacteos","cafe","cerveza","bebidas","licores","comida para bebe","conservas"]}, {"JD":["vino","aceite","chocolate","lacteos","cafe","cerveza","bebidas","licores","comida para bebe","conservas"]}
your model is a list, not a map. You should nest two ngFor, one regular and another one with | keyvalue
<div *ngFor="let m1 of Markets">
<div *ngFor="let m2 of m1 | keyvalue">{{m2.key | json}} {{m2.value | json}}></div>
</div>