Fix inverted docs in ExclusionStrategy.
This commit is contained in:
parent
a411a766f7
commit
c6752fc47a
|
@ -19,9 +19,9 @@ package com.google.gson;
|
||||||
/**
|
/**
|
||||||
* A strategy (or policy) definition that is used to decide whether or not a field or top-level
|
* A strategy (or policy) definition that is used to decide whether or not a field or top-level
|
||||||
* class should be serialized or deserialized as part of the JSON output/input. For serialization,
|
* class should be serialized or deserialized as part of the JSON output/input. For serialization,
|
||||||
* if the {@link #shouldSkipClass(Class)} method returns false then that class or field type
|
* if the {@link #shouldSkipClass(Class)} method returns true then that class or field type
|
||||||
* will not be part of the JSON output. For deserialization, if {@link #shouldSkipClass(Class)}
|
* will not be part of the JSON output. For deserialization, if {@link #shouldSkipClass(Class)}
|
||||||
* returns false, then it will not be set as part of the Java object structure.
|
* returns true, then it will not be set as part of the Java object structure.
|
||||||
*
|
*
|
||||||
* <p>The following are a few examples that shows how you can use this exclusion mechanism.
|
* <p>The following are a few examples that shows how you can use this exclusion mechanism.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue
Block a user