JSON.ParseFloatArray



JSON = class static (Object)Interface de JSONExemples de JSON

Qubes 6.3 Interprète un tableau de flottants

Syntaxe

class method ParseFloatArray(str: String): array of float (Qubes 7.0)
class function ParseFloatArray(str: String): array of float
str: chaîne JSON contenant le tableau

Remarques

La chaîne JSON doit contenir uniquement un tableau de flottants (ou 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 ParseIntegerArray et ParseStringArray.

Exemples

 

Classification

JSON