ee.Algorithms.Dictionary
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
สร้างพจนานุกรม
การใช้งาน | การคืนสินค้า |
---|
ee.Algorithms.Dictionary(input) | พจนานุกรม |
อาร์กิวเมนต์ | ประเภท | รายละเอียด |
---|
input | ออบเจ็กต์ ค่าเริ่มต้น: null | ออบเจ็กต์ที่จะแปลงเป็นพจนานุกรม พจนานุกรม JSON หรือรายการคู่คีย์/ค่าสลับ คีย์ต้องเป็นสตริง |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eCreates a server-side dictionary object, which is useful for organizing and accessing data.\u003c/p\u003e\n"],["\u003cp\u003eAccepts input in the form of a JSON dictionary or a list of key-value pairs, with keys always being strings.\u003c/p\u003e\n"],["\u003cp\u003eIf no input is provided, it defaults to creating an empty dictionary.\u003c/p\u003e\n"]]],["The function `ee.Algorithms.Dictionary` creates a dictionary object. It accepts a single argument, `input`, which can be either a JSON dictionary or a list of key-value pairs. The keys within the `input` must be strings. This function returns a dictionary data structure based on the provided input.\n"],null,["# ee.Algorithms.Dictionary\n\nConstructs a dictionary.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|---------------------------------------|------------|\n| `ee.Algorithms.Dictionary(`*input*`)` | Dictionary |\n\n| Argument | Type | Details |\n|----------|-----------------------|--------------------------------------------------------------------------------------------------------------------------------|\n| `input` | Object, default: null | An object to convert to a dictionary. Either a JSON dictionary or a list of alternating key/value pairs. Keys must be strings. |"]]