I can't convert json string to object in Vue.js and javascript
You are getting that error because on initial load, your resultls
is an empty string. You can change it to be a blanket empty json so it will parse properly and will be updated in watch.
resultsLi = new Vue({ el: '#result-list', data: { resultls: "{}", json: [] }, mounted: function () { .....}