Skip to content

Commit b8af932

Browse files
committed
[DOC] Discourage use of USERDEF
1 parent 9459bed commit b8af932

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

doc/marshal.rdoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,11 @@ sequence containing the user-defined representation of the object.
301301
The class method +_load+ is called on the class with a string created from the
302302
byte-sequence.
303303

304+
This type is not recommended for newly created classes, because of some
305+
restrictions:
306+
307+
- cannot have recursive reference
308+
304309
=== User Marshal
305310

306311
"U" represents an object with a user-defined serialization format using the

0 commit comments

Comments
 (0)