Annonce : Tous les projets non commerciaux enregistrés pour utiliser Earth Engine avant le 15 avril 2025 doivent vérifier leur éligibilité non commerciale pour conserver leur accès à Earth Engine.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/26 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/07/26 (UTC)."],[[["`ee.String.encodeJSON` converts Earth Engine objects like strings, numbers, lists, and dictionaries into JSON format."],["This function returns the JSON representation of the input object as an `ee.String`."],["Usage examples demonstrate encoding various Earth Engine data types into their respective JSON equivalents."],["The encoded JSON string can then be used for data exchange or further processing."]]],["The `ee.String.encodeJSON(object)` method encodes an object into a JSON string. It accepts various object types, including primitives, lists, and dictionaries, as input. The method returns a JSON string representation of the input object. Examples demonstrate encoding `ee.String`, `ee.Number`, `ee.List`, and `ee.Dictionary` types in both JavaScript and Python, showing how they are converted into their respective JSON string formats.\n"]]