Update gson/src/main/java/com/google/gson/GsonBuilder.java
Co-authored-by: Marcono1234 <Marcono1234@users.noreply.github.com>
This commit is contained in:
parent
e6b7da988a
commit
527c6cf0d0
@ -280,7 +280,7 @@ public final class GsonBuilder {
|
||||
|
||||
/**
|
||||
* Configures Gson to deserialize duplicate map keys. Only the value of last entry with the same key will be used, previous values
|
||||
* will be discarded. By default, Gson throws a {@link JsonSyntaxException} when a key occurs more than once.
|
||||
* will be discarded. By default, Gson throws a {@link JsonSyntaxException} when a key occurs more than once.
|
||||
*
|
||||
* <p>Note that enabling support for duplicate maps keys is discouraged because it can make an application less secure.
|
||||
* When an application interacts with other components using different JSON libraries, they might treat duplicate keys
|
||||
|
Loading…
Reference in New Issue
Block a user