ee.Dictionary.serialize

यह ऑब्जेक्ट के क्रमबद्ध किए गए वर्शन को दिखाता है.

इस्तेमालरिटर्न
Dictionary.serialize(legacy)स्ट्रिंग
आर्ग्यूमेंटटाइपविवरण
यह: computedobjectComputedObjectComputedObject इंस्टेंस.
legacyबूलियन, ज़रूरी नहींलेगसी फ़ॉर्मैट चालू करता है.

उदाहरण

कोड एडिटर (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());

Python सेटअप करना

Python API और इंटरैक्टिव डेवलपमेंट के लिए geemap का इस्तेमाल करने के बारे में जानकारी पाने के लिए, Python एनवायरमेंट पेज देखें.

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')