ee.Dictionary.serialize

Renvoie la représentation sérialisée de cet objet.

UtilisationRenvoie
Dictionary.serialize(legacy)Chaîne
ArgumentTypeDétails
ceci : computedobjectComputedObjectInstance ComputedObject.
legacyBooléen, facultatifActive l'ancien format.

Exemples

Éditeur de code (JavaScript)

// A dictionary (e.g. results of ee.Image.reduceRegion of an S2 image).
var dict = ee.Dictionary({
  B1: 182,
  B2: 219,
  B3: 443
});

print('Serialized representation of ee.Dictionary', dict.serialize());

Configuration de Python

Consultez la page Environnement Python pour en savoir plus sur l'API Python et sur l'utilisation de geemap pour le développement interactif.

import ee
import geemap.core as geemap

Colab (Python)

# A dictionary (e.g. results of ee.Image.reduceRegion of an S2 image).
dic = ee.Dictionary({
    'B1': 182,
    'B2': 219,
    'B3': 443
})

print('Serialized representation of ee.Dictionary:', dic.serialize(), sep='\n')