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

ru.tinkoff.phobos.derevo.xmlEncoder.scala Maven / Gradle / Ivy

The newest version!
package ru.tinkoff.phobos.derevo

import derevo.{Derevo, Derivation, delegating}
import ru.tinkoff.phobos.encoding.XmlEncoder

@delegating("ru.tinkoff.phobos.derivation.semiauto.deriveXmlEncoder")
object xmlEncoder extends Derivation[XmlEncoder] {

  def apply[A](arg: String): XmlEncoder[A] = macro Derevo.delegateParam[XmlEncoder, A, String]

  def apply[A, NS](arg1: String, arg2: NS): XmlEncoder[A] = macro Derevo.delegateParams2[XmlEncoder, A, String, NS]
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy