Skip to content

Commit df4d71a

Browse files
committed
upd
1 parent ec960d6 commit df4d71a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/serial.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ The default behavior while deserializing into a class other than primitive types
1313
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.
1414
4. Return *o*
1515

16+
Simple enums, including Flags enums, are serialized and deserialized in a different way from algebraic enums.
17+
1618
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`.
1719

1820
> **Note**: This section lacks certain contents yet.

0 commit comments

Comments
 (0)