JSON.ParseIntegerArray
| JSON = class static (Object) | Interface de JSON | Exemples de JSON |
Interprète un tableau d'entiers
Syntaxe
class method ParseIntegerArray(str: String; nullValue: Integer = 0): array of Integer (Qubes 9.0)
class method ParseIntegerArray(str: String): array of integer (Qubes 7.0)
class function ParseIntegerArray(str: String): array of integer
str: chaîne JSON contenant le tableau
Remarques
La chaîne JSON doit contenir uniquement un tableau d'entiers), ou une erreur sera retournée.
Cette méthode est optimisé pour ce cas particulier et retourne directement un tableau fortement typé.
Voir aussi ParseFloatArray et ParseStringArray.