JSONArray.ToString(Int32) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Encode ce tableau en tant que chaîne JSON lisible par l’homme pour le débogage, par exemple :
[Android.Runtime.Register("toString", "(I)Ljava/lang/String;", "GetToString_IHandler")]
public virtual string? ToString(int indentSpaces);
[<Android.Runtime.Register("toString", "(I)Ljava/lang/String;", "GetToString_IHandler")>]
override this.ToString : int -> string
Paramètres
- indentSpaces
- Int32
nombre d’espaces à mettre en retrait pour chaque niveau d’imbrication.
Retours
Chaîne JSON lisible humaine représentant ce tableau.
- Attributs
Exceptions
Remarques
Encode ce tableau en tant que chaîne JSON lisible par l’homme pour le débogage, par exemple :
[
94043,
90210
]
Java documentation pour org.json.JSONArray.toString(int).
Les parties de cette page sont des modifications basées sur le travail créé et partagé par le projet Android Open Source et utilisés en fonction des termes décrits dans la licence d’attribution Creative Commons 2.5.