All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonTest.kotlinx.serialization.json.serializers.Primitives.kt Maven / Gradle / Ivy

There is a newer version: 1.7.3
Show newest version
/*
 * Copyright 2017-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
 */

package kotlinx.serialization.json.serializers

import kotlinx.serialization.*
import kotlinx.serialization.json.*

@Serializable
data class JsonElementWrapper(val element: JsonElement)

@Serializable
data class JsonPrimitiveWrapper(val primitive: JsonPrimitive)

@Serializable
data class JsonNullWrapper(val element: JsonNull)

@Serializable
data class JsonObjectWrapper(val element: JsonObject)

@Serializable
data class JsonArrayWrapper(val array: JsonArray)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy