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

graphql.nadel.enginekt.util.JsonUtil.kt Maven / Gradle / Ivy

Go to download

Nadel is a Java library that combines multiple GrahpQL services together into one API.

The newest version!
package graphql.nadel.enginekt.util

internal fun AnyMap.asJsonMap(): JsonMap {
    @Suppress("UNCHECKED_CAST")
    return this as JsonMap
}

internal fun AnyMap.asMutableJsonMap(): MutableJsonMap {
    @Suppress("UNCHECKED_CAST")
    return this as MutableJsonMap
}

internal fun AnyMap?.asNullableJsonMap(): JsonMap? {
    @Suppress("UNCHECKED_CAST")
    return this as JsonMap?
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy