Sets the strictness of this builder to the provided parameter. <p>This changes how strict the <a href="https://www.ietf.org/rfc/rfc8259.txt">RFC 8259 JSON specification</a> is enforced when parsing or writing JSON. For details on this, refer to {@link JsonReader#setStrictness(Strictness)} and {@lin
(Strictness strictness)
| 597 | * @since 2.11.0 |
| 598 | */ |
| 599 | @CanIgnoreReturnValue |
| 600 | public GsonBuilder setStrictness(Strictness strictness) { |
| 601 | this.strictness = Objects.requireNonNull(strictness); |
| 602 | return this; |
| 603 | } |
| 604 | |
| 605 | /** |
| 606 | * By default, Gson escapes HTML characters such as < > etc. Use this option to configure |
no outgoing calls