Skip to content

Commit

Permalink
Merge pull request #37129 from quarkusio/dependabot/maven/org.jetbrai…
Browse files Browse the repository at this point in the history
…ns.kotlinx-kotlinx-serialization-json-1.6.1

Bump org.jetbrains.kotlinx:kotlinx-serialization-json from 1.6.0 to 1.6.1
  • Loading branch information
gsmet authored Nov 27, 2023
2 parents 07a38eb + 1ce610c commit 670b43c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bom/application/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
<kotlin.version>1.9.21</kotlin.version>
<kotlin.coroutine.version>1.7.3</kotlin.coroutine.version>
<azure.toolkit-lib.version>0.27.0</azure.toolkit-lib.version>
<kotlin-serialization.version>1.6.0</kotlin-serialization.version>
<kotlin-serialization.version>1.6.1</kotlin-serialization.version>
<dekorate.version>4.1.0</dekorate.version> <!-- Please check with Java Operator SDK team before updating -->
<maven-invoker.version>3.2.0</maven-invoker.version>
<awaitility.version>4.2.0</awaitility.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,12 @@ public class JsonConfig {
@ConfigItem(defaultValue = "false")
public boolean decodeEnumsCaseInsensitive = false;

/**
* Specifies if trailing comma is allowed.
*/
@ConfigItem(defaultValue = "false")
public boolean allowTrailingComma = false;

@Override
public String toString() {
return new StringJoiner(", ", JsonConfig.class.getSimpleName() + "[", "]")
Expand All @@ -144,6 +150,7 @@ public String toString() {
.add("allowSpecialFloatingPointValues=" + allowSpecialFloatingPointValues)
.add("useAlternativeNames=" + useAlternativeNames)
.add("decodeEnumsCaseInsensitive=" + decodeEnumsCaseInsensitive)
.add("allowTrailingComma=" + allowTrailingComma)
.toString();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ class JsonProducer {
useAlternativeNames = configuration.json.useAlternativeNames
useArrayPolymorphism = configuration.json.useArrayPolymorphism
decodeEnumsCaseInsensitive = configuration.json.decodeEnumsCaseInsensitive
allowTrailingComma = configuration.json.allowTrailingComma

configuration.json.namingStrategy.ifPresent { strategy ->
loadStrategy(this, strategy, this@JsonProducer)
Expand Down

0 comments on commit 670b43c

Please sign in to comment.