Skip to content

Commit a09b109

Browse files
authored
make serializer private
1 parent f5ffd7f commit a09b109

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • posthog-kmp/src/jvmMain/kotlin/io/github/samuolis/posthog

posthog-kmp/src/jvmMain/kotlin/io/github/samuolis/posthog/PostHog.jvm.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ private fun getCurrentISOTimestamp(): String {
384384

385385
// Custom serializer for Map<String, Any?>
386386
@OptIn(ExperimentalSerializationApi::class)
387-
object MapStringAnySerializer : KSerializer<Map<String, Any?>> {
387+
private object MapStringAnySerializer : KSerializer<Map<String, Any?>> {
388388
override val descriptor: SerialDescriptor = buildClassSerialDescriptor("MapStringAny")
389389

390390
private fun Any?.toJsonElement(): JsonElement = when (this) {

0 commit comments

Comments
 (0)