@@ -190,7 +190,7 @@ public final Map<String, Object> getAsMap() {
190
190
* Property used to specify whether or not the serialized JSON data is formatted
191
191
* with linefeeds and indentation.
192
192
*
193
- * Configures value of {@code FORMATTING} property.
193
+ * Configures value of {@link # FORMATTING} property.
194
194
*
195
195
* @param formatted
196
196
* True means serialized data is formatted, false (default)
@@ -205,7 +205,7 @@ public final JsonbConfig withFormatting(final Boolean formatted) {
205
205
/**
206
206
* Property used to specify whether null values should be serialized to JSON document or skipped.
207
207
*
208
- * Configures value of {@code NULL_VALUES} property.
208
+ * Configures value of {@link # NULL_VALUES} property.
209
209
*
210
210
* @param serializeNullValues
211
211
* True means that null values will be serialized into JSON document,
@@ -222,7 +222,7 @@ public final JsonbConfig withNullValues(final Boolean serializeNullValues) {
222
222
* for encoding of JSON data. For input data (fromJson), selected encoding is used if
223
223
* the encoding cannot be detected automatically. Default value is 'UTF-8'.
224
224
*
225
- * Configures value of {@code ENCODING} property.
225
+ * Configures value of {@link # ENCODING} property.
226
226
*
227
227
* @param encoding
228
228
* Valid character encoding as defined in the
@@ -238,7 +238,7 @@ public final JsonbConfig withEncoding(final String encoding) {
238
238
/**
239
239
* Property used to specify whether strict I-JSON serialization compliance should be enforced.
240
240
*
241
- * Configures value of {@code STRICT_IJSON} property.
241
+ * Configures value of {@link # STRICT_IJSON} property.
242
242
*
243
243
* @param enabled
244
244
* True means data is serialized in strict compliance according to RFC 7493.
@@ -252,7 +252,7 @@ public final JsonbConfig withStrictIJSON(final Boolean enabled) {
252
252
/**
253
253
* Property used to specify custom naming strategy.
254
254
*
255
- * Configures value of {@code JSONB_PROPERTY_NAMING_STRATEGY } property.
255
+ * Configures value of {@link #PROPERTY_NAMING_STRATEGY } property.
256
256
*
257
257
* @param propertyNamingStrategy
258
258
* Custom naming strategy which affects serialization and deserialization.
@@ -266,7 +266,7 @@ public final JsonbConfig withPropertyNamingStrategy(final PropertyNamingStrategy
266
266
/**
267
267
* Property used to specify custom naming strategy.
268
268
*
269
- * Configures value of {@code JSONB_PROPERTY_NAMING_STRATEGY } property.
269
+ * Configures value of {@link #PROPERTY_NAMING_STRATEGY } property.
270
270
*
271
271
* @param propertyNamingStrategy
272
272
* Predefined naming strategy which affects serialization and deserialization.
@@ -280,7 +280,7 @@ public final JsonbConfig withPropertyNamingStrategy(final String propertyNamingS
280
280
/**
281
281
* Property used to specify property order strategy.
282
282
*
283
- * Configures values of {@code JSONB_PROPERTY_ORDER_STRATEGY } property.
283
+ * Configures values of {@link #PROPERTY_ORDER_STRATEGY } property.
284
284
*
285
285
* @param propertyOrderStrategy
286
286
* Predefined property order strategy which affects serialization.
@@ -294,7 +294,7 @@ public final JsonbConfig withPropertyOrderStrategy(final String propertyOrderStr
294
294
/**
295
295
* Property used to specify custom property visibility strategy.
296
296
*
297
- * Configures value of {@code PROPERTY_VISIBILITY_STRATEGY} property.
297
+ * Configures value of {@link # PROPERTY_VISIBILITY_STRATEGY} property.
298
298
*
299
299
* @param propertyVisibilityStrategy
300
300
* Custom property visibility strategy which affects serialization and deserialization.
@@ -309,7 +309,7 @@ public final JsonbConfig withPropertyVisibilityStrategy(final PropertyVisibility
309
309
/**
310
310
* Property used to specify custom mapping adapters.
311
311
*
312
- * Configures value of {@code ADAPTERS} property.
312
+ * Configures value of {@link # ADAPTERS} property.
313
313
*
314
314
* Calling withAdapters more than once will merge the adapters with previous value.
315
315
*
@@ -326,7 +326,7 @@ public final JsonbConfig withAdapters(final JsonbAdapter... adapters) {
326
326
/**
327
327
* Property used to specify custom serializers.
328
328
*
329
- * Configures value of {@code SERIALIZERS} property.
329
+ * Configures value of {@link # SERIALIZERS} property.
330
330
*
331
331
* Calling withSerializers more than once will merge the serializers with previous value.
332
332
*
@@ -343,7 +343,7 @@ public final JsonbConfig withSerializers(final JsonbSerializer... serializers) {
343
343
/**
344
344
* Property used to specify custom deserializers.
345
345
*
346
- * Configures value of {@code DESERIALIZERS} property.
346
+ * Configures value of {@link # DESERIALIZERS} property.
347
347
*
348
348
* Calling withDeserializers more than once will merge the deserializers with previous value.
349
349
*
@@ -360,7 +360,7 @@ public final JsonbConfig withDeserializers(final JsonbDeserializer... deserializ
360
360
/**
361
361
* Property used to specify custom binary data strategy.
362
362
*
363
- * Configures value of {@code BINARY_DATA_STRATEGY} property.
363
+ * Configures value of {@link # BINARY_DATA_STRATEGY} property.
364
364
*
365
365
* @param binaryDataStrategy
366
366
* Custom binary data strategy which affects serialization and deserialization.
@@ -375,10 +375,12 @@ public final JsonbConfig withBinaryDataStrategy(final String binaryDataStrategy)
375
375
* Property used to specify custom date format. This format will be used by default for all date classes
376
376
* serialization and deserialization.
377
377
*
378
+ * Configures values of {@link #DATE_FORMAT} and {@link #LOCALE} properties.
379
+ *
378
380
* @param dateFormat
379
381
* Custom date format as specified in {@link java.time.format.DateTimeFormatter}.
380
382
* @param locale
381
- * Locale, default is null .
383
+ * Locale, if null is specified {@link Locale#getDefault} will be used .
382
384
* @return This JsonbConfig instance.
383
385
*/
384
386
public final JsonbConfig withDateFormat (final String dateFormat , final Locale locale ) {
@@ -389,6 +391,8 @@ public final JsonbConfig withDateFormat(final String dateFormat, final Locale lo
389
391
/**
390
392
* Property used to specify custom locale.
391
393
*
394
+ * Configures value of {@link #LOCALE} property.
395
+ *
392
396
* @param locale
393
397
* Locale, must not be null.
394
398
* @return This JsonbConfig instance.
0 commit comments