Skip to content

Commit

Permalink
Fix the javadoc of JsonDeserializer.deserialize() (google#2243)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaicolAntali authored Dec 5, 2022
1 parent e4c3b65 commit c9c8e8f
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
Original file line number Diff line number Diff line change
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 c9c8e8f

Please sign in to comment.