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

sttp.client3.JsonInput.scala Maven / Gradle / Ivy

There is a newer version: 3.10.0
Show newest version
package sttp.client3

protected[sttp] object JsonInput {
  def sanitize[T: IsOption]: String => String = { s =>
    if (implicitly[IsOption[T]].isOption && s.trim.isEmpty) "null" else s
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy