|
@@ -70,7 +70,7 @@ Annotations
|
|
@ExclusionPolicy
|
|
@ExclusionPolicy
|
|
~~~~~~~~~~~~~~~~
|
|
~~~~~~~~~~~~~~~~
|
|
This annotation can be defined on a class to indicate the exclusion strategy
|
|
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
|
|
@Exclude
|
|
~~~~~~~~
|
|
~~~~~~~~
|