Ho JSON da aiutanteCome stampare chiave e valori in Meteor Template?
{
"Name": "abc",
"Age": 24,
"Address" {
"street" : "xyz street",
"city" : "zyz city",
"country" : "XY"
}
}
voglio stampare l'indirizzo con chiave e valori
<template name="User">
{{#with user}}
Name : {{Name}}
Age : {{Age}}
{{#each Address}}
{{key}} : {{value}} //Here is my question
{{/each}}
{{/with}}
</template>
Come stampare chiave e valori in un modello?
voglio stampare chiave e così come il valore. Il tuo codice ha solo valori. Comunque grazie. @saimeunt Comprendere la mia domanda giusta. –
Non risponde alla domanda, i tasti dovrebbero essere sconosciuti. –