Skip to content

Commit

Permalink
Fix the javadoc of JsonDeserializer.deserialize() (google#2243)
Browse files Browse the repository at this point in the history
(cherry picked from commit c9c8e8f)
  • Loading branch information
MaicolAntali authored and tibor-universe committed Jan 18, 2023
1 parent 88e75b0 commit 9f382a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gson/src/main/java/com/google/gson/JsonDeserializer.java
Expand Up @@ -83,7 +83,7 @@ public interface JsonDeserializer<T> {
* <p>In the implementation of this call-back method, you should consider invoking
* {@link JsonDeserializationContext#deserialize(JsonElement, Type)} method to create objects
* for any non-trivial field of the returned object. However, you should never invoke it on the
* the same type passing {@code json} since that will cause an infinite loop (Gson will call your
* same type passing {@code json} since that will cause an infinite loop (Gson will call your
* call-back method again).
*
* @param json The Json data being deserialized
Expand Down

0 comments on commit 9f382a5

Please sign in to comment.