cats.xml.implicits.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cats-xml_3 Show documentation
Show all versions of cats-xml_3 Show documentation
A purely functional XML library
package cats.xml
import cats.xml.codec.{DecoderFailureSyntax, DecoderSyntax, EncoderSyntax}
import cats.xml.utils.DebugSyntax
object implicits extends AllSyntax
object syntax extends AllSyntax
private[xml] sealed trait AllSyntax
extends XmlAttributeSyntax
with DecoderFailureSyntax
with XmlParserSyntax
with EncoderSyntax
with DecoderSyntax
with DebugSyntax {
implicit class XmlDataOptionOps[X <: Xml](opt: Option[X]) {
def orXmlNull: X = opt.getOrElse(Xml.Null).asInstanceOf[X]
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy