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

org.http4k.chaos.chaosExt.kt Maven / Gradle / Ivy

There is a newer version: 5.35.2.0
Show newest version
package org.http4k.chaos

import com.fasterxml.jackson.databind.JsonNode
import org.http4k.format.Jackson.asA

internal inline fun  JsonNode.asNullable(name: String): T? = if (hasNonNull(name)) this[name].asA() else null
internal inline fun  JsonNode.nonNullable(name: String): T = this[name].asA()




© 2015 - 2024 Weber Informatics LLC | Privacy Policy