Need help displaying information from a JSON file using vue.js? Check out this example:
access_type: {
"id": 1210765901,
"version": "17",
"creation_time": "2015-04-02 15:09:02",
"change_time": "2017-01-06 02:51:01",
"fixnet_id": "BN00002969937",
"status": "ACTIVE",
"xipsib_lan_ip": null
}
Here's the desired output format:
id: 1210765901
version: 17
...
Take a look at the script below to achieve this result:
<div class="card-content">
<pre v-for="(info, index) in activeInfos" :key="index">
<li>{{ type }}: {{ info}}</li>
</pre>
</div>