GetJsonNumber(string json, string myfield)
Section intitulée « GetJsonNumber(string json, string myfield) »Lit la valeur numérique d’un champ nommé dans une chaîne JSON.
Paramètres
Section intitulée « Paramètres »- ‘json’ — la chaîne JSON à analyser.
- ‘myfield’ — le nom du champ à lire.
Type de retour
Section intitulée « Type de retour »Long
Valeur de retour
Section intitulée « Valeur de retour »La valeur numérique de ‘myfield’ dans ‘json’.