Package de.xima.fc.converter.json
Class JsonPathEntryConverter.Builder
- java.lang.Object
-
- de.xima.fc.converter.json.JsonPathEntryConverter.Builder
-
- Enclosing class:
- JsonPathEntryConverter
public static final class JsonPathEntryConverter.Builder extends Object
Builder forJsonPathEntryConverter.- Since:
- 8.2.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JsonPathEntryConverterbuild()Builds aJsonPathEntryConverterwith the configured settings.JsonPathEntryConverter.BuilderomitNullValues(boolean omitNullValues)JsonPathEntryConverter.BuilderprimitiveConverter(IJsonPrimitiveConverter converter)Sets the converter for converting between JSON primitives and strings.
-
-
-
Method Detail
-
build
public JsonPathEntryConverter build()
Builds aJsonPathEntryConverterwith the configured settings. Subsequent changes to this builder do not affect the returned converter.- Returns:
- Configured converter.
-
omitNullValues
public JsonPathEntryConverter.Builder omitNullValues(boolean omitNullValues)
- Parameters:
omitNullValues- Whether to omitnullvalues.- Returns:
- This builder for chaining method calls.
-
primitiveConverter
public JsonPathEntryConverter.Builder primitiveConverter(IJsonPrimitiveConverter converter)
Sets the converter for converting between JSON primitives and strings.- Parameters:
converter- Converter to use.- Returns:
- This builder for chaining method calls.
-
-