Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
blockly > serileştirme > prosedürler
serileştirme.procedures ad alanı
Sınıflar
Sınıf |
Açıklama |
ProcedureSerializer |
İşlem durumunun kaydedilmesi ve yüklenmesi için serileştirici. |
İşlevler
Arayüzler
Arayüz |
Açıklama |
ParameterState |
Bir parametre modelinin durumunu gösterir. |
Durum |
Bir prosedür modelinin durumunu temsil eder. |
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-05-20 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2024-05-20 UTC."],[[["The `serialization.procedures` namespace provides tools for saving and loading the state of procedures in Blockly."],["It includes a `ProcedureSerializer` class, functions for loading and saving procedures (`loadProcedure` and `saveProcedure`), and interfaces defining the structure of procedure and parameter state (`State` and `ParameterState`)."],["These components enable the serialization and deserialization of procedure models to and from JSON, facilitating the persistence and restoration of user-defined procedures in Blockly workspaces."]]],["The `serialization.procedures` namespace handles saving and loading procedure states in Blockly. It utilizes a `ProcedureSerializer` class for this purpose. Key actions include `saveProcedure`, which serializes a procedure model to JSON, and `loadProcedure`, which deserializes a procedure model state from JSON. The namespace also defines `ParameterState` and `State` interfaces, representing the state of a parameter model and a procedure model, respectively. These components manage the process of transforming procedure data into a storable format and back.\n"]]