Package org.eclipse.ditto.json
Interface JsonParseOptionsBuilder
public interface JsonParseOptionsBuilder
A mutable builder for a
JsonParseOptions
. Implementations of this interface are normally not thread safe and
not reusable.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates newJsonParseOptions
containing all values which were added beforehand.Configures NOT to URL decode the String to parse.Configures to URL decode the String to parse.
-
Method Details
-
withUrlDecoding
JsonParseOptionsBuilder withUrlDecoding()Configures to URL decode the String to parse.- Returns:
- this builder to allow method chaining.
-
withoutUrlDecoding
JsonParseOptionsBuilder withoutUrlDecoding()Configures NOT to URL decode the String to parse.- Returns:
- this builder to allow method chaining.
-
build
JsonParseOptions build()Creates newJsonParseOptions
containing all values which were added beforehand.- Returns:
- the new JsonParseOptions.
-