I would like to be able to get and list the keys (not values) from the params array in this JSON Object, using the *ngfor directive in an ionic2 page.
{
"id":"x",
"name":"xxx",
"code":"xxx",
"description":"xxx",
"params":
[
{"param1": "params1"},
{"param2": "params2"},
{"param3": "params3"}
]
}
I have searched around this forum and found an implementation using pipes; but I have been unsuccessful so far. The most I've been able to obtain using the pipes are the array indexes, but not the keys.