Fix the javadoc of JsonDeserializer.deserialize() (#2243)

This commit is contained in:
Maicol 2022-12-05 21:59:14 +01:00 committed by GitHub
parent e4c3b653a6
commit c9c8e8f1bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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