![JAR search and dependency download from the Maven repository](/logo.png)
scala.googleapis.firebase.Empty.scala Maven / Gradle / Ivy
package googleapis.firebase
import io.circe._
import io.circe.syntax._
final case class Empty(value: Option[JsonObject] = None)
object Empty {
implicit val encoder: Encoder[Empty] = Encoder.instance { x =>
Json.obj("value" := x.value)
}
implicit val decoder: Decoder[Empty] = Decoder.instance { c =>
for {
v0 <- c.get[Option[JsonObject]]("value")
} yield Empty(v0)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy