Fix the javadoc of JsonDeserializer.deserialize() (#2243)
This commit is contained in:
parent
e4c3b653a6
commit
c9c8e8f1bc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user