mirror of
https://github.com/gkd-kit/gkd.git
synced 2024-11-16 03:32:38 +08:00
perf: json skip encode null field
This commit is contained in:
parent
3bb2375d3b
commit
b96b6699ec
|
@ -87,8 +87,8 @@ data class SubscriptionRaw(
|
||||||
val name: String? = null,
|
val name: String? = null,
|
||||||
override val cd: Long? = null,
|
override val cd: Long? = null,
|
||||||
override val delay: Long? = null,
|
override val delay: Long? = null,
|
||||||
override val matchLauncher: Boolean?,
|
override val matchLauncher: Boolean? = null,
|
||||||
override val quickFind: Boolean?,
|
override val quickFind: Boolean? = null,
|
||||||
override val activityIds: List<String>? = null,
|
override val activityIds: List<String>? = null,
|
||||||
override val excludeActivityIds: List<String>? = null,
|
override val excludeActivityIds: List<String>? = null,
|
||||||
val groups: List<GroupRaw> = emptyList(),
|
val groups: List<GroupRaw> = emptyList(),
|
||||||
|
@ -105,8 +105,8 @@ data class SubscriptionRaw(
|
||||||
val key: Int,
|
val key: Int,
|
||||||
override val cd: Long? = null,
|
override val cd: Long? = null,
|
||||||
override val delay: Long? = null,
|
override val delay: Long? = null,
|
||||||
override val matchLauncher: Boolean?,
|
override val matchLauncher: Boolean? = null,
|
||||||
override val quickFind: Boolean?,
|
override val quickFind: Boolean? = null,
|
||||||
override val activityIds: List<String>? = null,
|
override val activityIds: List<String>? = null,
|
||||||
override val excludeActivityIds: List<String>? = null,
|
override val excludeActivityIds: List<String>? = null,
|
||||||
val rules: List<RuleRaw> = emptyList(),
|
val rules: List<RuleRaw> = emptyList(),
|
||||||
|
@ -135,8 +135,8 @@ data class SubscriptionRaw(
|
||||||
val action: String? = null,
|
val action: String? = null,
|
||||||
override val cd: Long? = null,
|
override val cd: Long? = null,
|
||||||
override val delay: Long? = null,
|
override val delay: Long? = null,
|
||||||
override val matchLauncher: Boolean?,
|
override val matchLauncher: Boolean? = null,
|
||||||
override val quickFind: Boolean?,
|
override val quickFind: Boolean? = null,
|
||||||
override val activityIds: List<String>? = null,
|
override val activityIds: List<String>? = null,
|
||||||
override val excludeActivityIds: List<String>? = null,
|
override val excludeActivityIds: List<String>? = null,
|
||||||
val matches: List<String> = emptyList(),
|
val matches: List<String> = emptyList(),
|
||||||
|
|
|
@ -89,8 +89,9 @@ dependencyResolutionManagement {
|
||||||
"others.activityResultLauncher",
|
"others.activityResultLauncher",
|
||||||
"com.github.DylanCaiCoding:ActivityResultLauncher:1.1.2"
|
"com.github.DylanCaiCoding:ActivityResultLauncher:1.1.2"
|
||||||
)
|
)
|
||||||
|
// json5
|
||||||
// https://github.com/falkreon/Jankson
|
// https://github.com/falkreon/Jankson
|
||||||
library("others.jankson", "blue.endless:jankson:1.2.1")
|
library("others.jankson", "blue.endless:jankson:1.2.3")
|
||||||
// https://github.com/journeyapps/zxing-android-embedded
|
// https://github.com/journeyapps/zxing-android-embedded
|
||||||
library("others.zxing.android.embedded", "com.journeyapps:zxing-android-embedded:4.3.0")
|
library("others.zxing.android.embedded", "com.journeyapps:zxing-android-embedded:4.3.0")
|
||||||
// https://github.com/TorryDo/Floating-Bubble-View
|
// https://github.com/TorryDo/Floating-Bubble-View
|
||||||
|
|
Loading…
Reference in New Issue
Block a user