Skip to content

Commit f51e26b

Browse files
committed
Update
1 parent e35c483 commit f51e26b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/as3-guide/serialization.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Whack allows easily serializing and deserializing classes.
44
55
> Note that variables should not hold functions in the serialization patterns.
66
7-
> Note that the constructor of serializable classes should consist of optional parameters only, as in:
7+
> Note that the constructor of serializable classes must be optional. For instance:
88
>
99
> ```
1010
> package
@@ -21,6 +21,8 @@ Whack allows easily serializing and deserializing classes.
2121
> }
2222
> ```
2323
24+
> Note that interfaces are not allowed in serialization.
25+
2426
## JSON
2527
2628
JSON data can be serialized with `JSON.stringify(val)`, and for deserializing into a specific class you may use `JSON.parse(str, T)`.

0 commit comments

Comments
 (0)