mercredi 8 mai 2019

How to split a JSON lookalike string and display it on vue.js

I have a string of the form "{ "name" : "XYZ", "email" : "XYZ@ABC.com" } { { "name" : "PQR", "email" : "PQR@ABC.com" } " . How do I split this string/parse it and ID it in a proper way to display just the names and the emails on the client side?

Expect something like this ---

XYZ XYZ@ABC.com

PQR PQR@ABC.com




Aucun commentaire:

Enregistrer un commentaire