TDoubleList.AsJSON
redirigé depuis TDoubleList.SetJSON
| TDoubleList = class (TObject) | Interface de TDoubleList | Exemples de TDoubleList |
Qubes 9.0 Retourne un JSON ou initialise depuis un JSON
Syntaxe
property AsJSON: String read GetJSON write SetJSON
Remarques
En lecture, retourne un tableau JSON contenant les valeur de la TDoubleList, ou l'initialise depuis un tableau contenant des valeurs numériques.
Exemples
var dbl := new TDoubleList;
dbl.AsJSON := '[1.5,2]';
dbl.Add(2.5);
PrintLn(dbl.AsJSON); // [1.5,2,2.5]
dbl.AsJSON := '[1.5,2]';
dbl.Add(2.5);
PrintLn(dbl.AsJSON); // [1.5,2,2.5]