assign json text as object vuejs code example Example: make string json object vue this.content = JSON.parse(content);