Sets the strictness of this builder to {@link Strictness#LENIENT}. @deprecated This method is equivalent to calling {@link #setStrictness(Strictness)} with {@link Strictness#LENIENT}: {@code setStrictness(Strictness.LENIENT)} @return a reference to this {@code GsonBuilder} object to fulfill the
()
| 575 | * @see #setStrictness(Strictness) |
| 576 | */ |
| 577 | @Deprecated |
| 578 | @InlineMe( |
| 579 | replacement = "this.setStrictness(Strictness.LENIENT)", |
| 580 | imports = "com.google.gson.Strictness") |
| 581 | @CanIgnoreReturnValue |
| 582 | public GsonBuilder setLenient() { |
| 583 | return setStrictness(Strictness.LENIENT); |
| 584 | } |
| 585 | |
| 586 | /** |
| 587 | * Sets the strictness of this builder to the provided parameter. |