Package org.eclipse.ditto.json
Interface JsonParseOptionsBuilder
-
public interface JsonParseOptionsBuilder
A mutable builder for aJsonParseOptions
. Implementations of this interface are normally not thread safe and not reusable.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JsonParseOptions
build()
Creates newJsonParseOptions
containing all values which were added beforehand.JsonParseOptionsBuilder
withoutUrlDecoding()
Configures NOT to URL decode the String to parse.JsonParseOptionsBuilder
withUrlDecoding()
Configures to URL decode the String to parse.
-
-
-
Method Detail
-
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.
-
-