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

com.github.timgent.sparkdataquality.json.CustomEncodings.scala Maven / Gradle / Ivy

package com.github.timgent.sparkdataquality.json

import com.github.timgent.sparkdataquality.checks.DatasourceDescription
import com.github.timgent.sparkdataquality.checks.DatasourceDescription.{DualDsDescription, OtherDsDescription, SingleDsDescription}
import io.circe.Decoder.Result
import io.circe.{Decoder, Encoder, HCursor, Json}
import cats.syntax.either._

private[sparkdataquality] object CustomEncodings {
  implicit val singleDsDescriptionEncoder: Encoder[SingleDsDescription] = new Encoder[SingleDsDescription] {
    override def apply(a: SingleDsDescription): Json = ???
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy