You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/serial.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,8 @@ The default behavior while deserializing into a class other than primitive types
13
13
3. Assign each field of *fields* to the respective data document field with the appropriate parsing of the field's data type, applying any configured rename.
14
14
4. Return *o*
15
15
16
+
Simple enums, including Flags enums, are serialized and deserialized in a different way from algebraic enums.
17
+
16
18
The reason for requiring the Serial or XS meta-data is for making the default behavior more explicit, which may be adjusted with methods like `fromJSON` and `toJSON`.
17
19
18
20
> **Note**: This section lacks certain contents yet.
0 commit comments