We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e35c483 commit f51e26bCopy full SHA for f51e26b
src/as3-guide/serialization.md
@@ -4,7 +4,7 @@ Whack allows easily serializing and deserializing classes.
4
5
> Note that variables should not hold functions in the serialization patterns.
6
7
-> Note that the constructor of serializable classes should consist of optional parameters only, as in:
+> Note that the constructor of serializable classes must be optional. For instance:
8
>
9
> ```
10
> package
@@ -21,6 +21,8 @@ Whack allows easily serializing and deserializing classes.
21
> }
22
23
24
+> Note that interfaces are not allowed in serialization.
25
+
26
## JSON
27
28
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