Survei Riset: Ceritakan pengalaman Anda dengan Blockly
Mulai survei
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
blockly > Kolom > DAPAT DISERIAKAN
Properti Field.SERIALIZABLE
Kolom yang dapat diserialisasi disimpan oleh serialisasi, sedangkan kolom yang tidak dapat diserialisasi tidak disimpan. Kolom yang dapat diedit juga harus dapat diserialisasi. Hal ini tidak berlaku secara default sehingga SERIALIZABLE kompatibel dengan versi lama.
Tanda Tangan:
SERIALIZABLE: boolean;
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-25 UTC.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-07-25 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"]]