mardi 18 août 2020

How to extract the string values from json array and store it

Have a dynamic value stringval How to extract values from it and store it in 3 different variable separated by pipes (|)

stringval ="A|B|C"

want to store these value separately in three different variables like Var1(value for A), Var2 (value for B), Var3 (value for C) . Let me know how to do it.

[
  {
   "Fieldid": "Fieldid/11",
    "fieldName": "TX.Sessionval.cost",
    "**stringval**": "jklah-dw-4c8d-8320-das313s3ASsda|000725N8WuUrfmIsbj!AS7alP|Danny_username"
  }
]

Aucun commentaire:

Enregistrer un commentaire