I try to generate a table out of a JSON response
I know how to access the key but i do not find a way to get the value.
{{#each this}}
{{@key}}
{{/each}}
Each key will be a row and the value will represent the content of the row (like in the below image)
The response is below :
this:
{
"DistributedQueue-0":{
"MessagesCurrentCount":"0",
"MessagesPendingCount":"0",
"MessagesReceivedCount":"0",
"MessagesHighCount":"0",
"ConsumersCurrentCount":"0",
"ConsumersHighCount":"0",
"ConsumersTotalCount":"0"
},
"PatientNotificationQueue":{
"MessagesCurrentCount":"0",
"MessagesPendingCount":"0",
"MessagesReceivedCount":"0",
"MessagesHighCount":"0",
"ConsumersCurrentCount":"0",
"ConsumersHighCount":"0",
"ConsumersTotalCount":"0"
},
"Topic-0":{
"MessagesCurrentCount":"0",
"MessagesPendingCount":"0",
"MessagesReceivedCount":"0",
"MessagesHighCount":"0",
"ConsumersCurrentCount":"0",
"ConsumersHighCount":"0",
"ConsumersTotalCount":"0"
}
}