Johannes Schmitt 14 лет назад
Родитель
Сommit
6320a23727
1 измененных файлов с 10 добавлено и 8 удалено
  1. 10 8
      Resources/doc/index.rst

+ 10 - 8
Resources/doc/index.rst

@@ -70,7 +70,7 @@ Annotations
 @ExclusionPolicy
 ~~~~~~~~~~~~~~~~
 This annotation can be defined on a class to indicate the exclusion strategy
-that should be used for the class. Available strategies: all, or none
+that should be used for the class.
 
 ::
 
@@ -82,13 +82,15 @@ that should be used for the class. Available strategies: all, or none
     {
     }
 
------ ----------
-all   all properties are excluded by default; only properties marked with @Expose
-      will be serialized/unserialized
------ ----------
-none  no properties are excluded by default; all properties except those marked
-      with @Exclude will be serialized/unserialized
------ ----------
++----------+----------------------------------------------------------------+
+| Policy   | Description                                                    |
++==========+================================================================+
+| all      | all properties are excluded by default; only properties marked |
+|          | with @Expose will be serialized/unserialized                   |
++----------+----------------------------------------------------------------+
+| none     | no properties are excluded by default; all properties except   |
+|          | those marked with @Exclude will be serialized/unserialized     |
++----------+----------------------------------------------------------------+
 
 @Exclude
 ~~~~~~~~