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 JsonPathEntryConverter
build()
Builds aJsonPathEntryConverter
with the configured settings.JsonPathEntryConverter.Builder
omitNullValues(boolean omitNullValues)
JsonPathEntryConverter.Builder
primitiveConverter(IJsonPrimitiveConverter converter)
Sets the converter for converting between JSON primitives and strings.
-
-
-
Method Detail
-
build
public JsonPathEntryConverter build()
Builds aJsonPathEntryConverter
with 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 omitnull
values.- 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.
-
-