Skip to content

Commit 21c25b7

Browse files
committed
Serialization: fix typo
1 parent 45dde37 commit 21c25b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

serialization.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ The Java's `+_invalidate{Inst}+` / Python's `+_invalidate_{inst}+` method invali
725725

726726
=== Parse instances
727727

728-
They have setters and their own `+_check{Inst}+` (`+_check_{inst}+`) method which you should call. Additionally, you can also use a special boolean setter `set{Inst}_ToWrite` hello (in Python you'd assign a boolean to a property `+{inst}__to_write+`), allowing you to disable writing of a specific instance (as `r.set{Inst}_ToWrite(false)` in Java, or `+r.{inst}__to_write = False+` in Python) in a particular KS object. This may be useful for C-style `union` members (several overlapping fields with different types, but only one applies in any object), lookaheads or other positional instances you don't want to write.
728+
They have setters and their own `+_check{Inst}+` (`+_check_{inst}+`) method which you should call. Additionally, you can also use a special boolean `set{Inst}_ToWrite` setter (in Python you'd assign a boolean to a property `+{inst}__to_write+`), allowing you to disable writing of a specific instance (as `r.set{Inst}_ToWrite(false)` in Java, or `+r.{inst}__to_write = False+` in Python) in a particular KS object. This may be useful for C-style `union` members (several overlapping fields with different types, but only one applies in any object), lookaheads or other positional instances you don't want to write.
729729

730730
=== Parameters
731731

0 commit comments

Comments
 (0)