|
|||||||
|
|
|
![]() |
|
|
Strumenti |
|
|
#1 |
|
Senior Member
Iscritto dal: Apr 2009
Città: Aci Catena (CT)
Messaggi: 1021
|
[VBScript] Json: catturare un Value dato il suo Nome
Buonasera a tutti,
ho un Json del tipo: Codice:
[{
"SysName": "mySysName1",
"SysLink": "mySysLink1"
}, {
"SysName": "mySysName2",
"SysLink": "mySysLink2"
}, {
"SysName": "mySysName2",
"SysLink": "mySysLink2"
}]
Codice:
Set re = New RegExp re.Pattern = "/SysName(.*)/" re.Global = True re.IgnoreCase = True For Each m In re.Execute(myJson) Wscript.echo m.value Next |
|
|
|
|
| Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 07:52.



















