[Vuejs]-How to get specific objects/keys in the returned json format string

0👍

Do you know how to get the first 3 items in my json display ? – Yes, To achieve this you can use slice() method of JavaScript.

<tr v-for="list in myData.slice(0,3)" v-bind:key="list.email">

And to render specific fields, You can access them using dot notation on the object.

Ex: {{ list.detailsData.ComparisonOperator }}

Leave a comment