aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-10-26 18:37:15 +0200
committerLinnea Gräf <nea@nea.moe>2024-10-26 18:37:15 +0200
commit928f6a45017df8aeb467e6879b350ade89c73d9a (patch)
tree3577f376246315c7805a85cc189c5da73bdaf3f6 /src/main/kotlin
parent4308a09f8929da42cab420d7254c0981d74bd651 (diff)
downloadfirmament-928f6a45017df8aeb467e6879b350ade89c73d9a.tar.gz
firmament-928f6a45017df8aeb467e6879b350ade89c73d9a.tar.bz2
firmament-928f6a45017df8aeb467e6879b350ade89c73d9a.zip
Isolate Wildfire Female Gender Mod Support
[no changelog]
Diffstat (limited to 'src/main/kotlin')
-rw-r--r--src/main/kotlin/Firmament.kt3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/kotlin/Firmament.kt b/src/main/kotlin/Firmament.kt
index d8a309b..e0541f1 100644
--- a/src/main/kotlin/Firmament.kt
+++ b/src/main/kotlin/Firmament.kt
@@ -28,6 +28,7 @@ import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Job
import kotlinx.coroutines.SupervisorJob
import kotlinx.coroutines.plus
+import kotlinx.serialization.ExperimentalSerializationApi
import kotlinx.serialization.json.Json
import kotlinx.serialization.json.decodeFromStream
import kotlin.coroutines.EmptyCoroutineContext
@@ -59,9 +60,11 @@ object Firmament {
}
val version: Version by lazy { metadata.version }
+ @OptIn(ExperimentalSerializationApi::class)
val json = Json {
prettyPrint = DEBUG
isLenient = true
+ allowTrailingComma = true
ignoreUnknownKeys = true
encodeDefaults = true
}