Tutorialsplane

Vue.js Parse Json


We can use JSON.parse to parse json string in vue.js. Here in this tutorial, we are going to explain how you can use this method to parse json data in vue.js. You can also use our online editor to edit and run the code online.


Vue.js Parse Json JavaScript | VueJS Example

You can parse Json data in vuejs simply as below –

Example:

var jsonData = '{ 
    "id": "0",  
    "name": "Jhon",   
    "email": "jhon@gmail.com"
}'
// now parse json simply 
var result = JSON.parse(jsonData);