Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
blockly > Feld > SERIALISierbar
Eigenschaft "Field.SERIALIZABLE"
Serialisierbare Felder werden vom Serialisierer gespeichert, nicht serialisierbare Felder nicht. Bearbeitbare Felder sollten auch serialisierbar sein. Dies ist nicht standardmäßig der Fall, sodass SERIALIZABLE abwärtskompatibel ist.
Unterschrift:
SERIALIZABLE: boolean;
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-10-11 (UTC).
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2024-10-11 (UTC)."],[[["Field.SERIALIZABLE is a property that determines if a field is saved during serialization."],["Editable fields should ideally be serializable, although this is not the default for backwards compatibility."],["By default, fields are not serialized, requiring developers to explicitly set SERIALIZABLE to true for persistence."]]],["The `SERIALIZABLE` property in Blockly's `Field` class determines if a field is saved by the serializer. Editable fields should be serializable to be saved. By default, `SERIALIZABLE` is not enabled, ensuring backwards compatibility. The property's value is a boolean, representing whether the field's data is to be included during serialization. Non-serializable fields will be excluded from the serialized output.\n"]]