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

wjson.macros.TupleMacro.scala Maven / Gradle / Ivy

//package wjson.macros
//
//import wjson.JsValueMapper
//
//object TupleMacro:
//
//    inline def [T <: Tuple](t: T): JsValueMapper[T] =
//        ${ TupleMacroImpl.toJsArray('t) }
//
//    def [T <: Tuple](t: T) toJsArray: JsValueMapper[T] =
//        JsValueMapper(t.productIterator.map(JsValueMapper(_)).toSeq)




© 2015 - 2025 Weber Informatics LLC | Privacy Policy