Sets the strictness of this builder to the provided parameter. This changes how strict the RFC 8259 JSON specification is enforced when parsing or writing JSON. For details on this, refer to 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