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

json.schema.validation.Def.scala Maven / Gradle / Ivy

package json.schema.validation

import com.github.andyglow.json.Value

final case class Def[S, V](validation: Instance[S, V], value: V, json: Value) {

  override def canEqual(that: Any): Boolean = that.isInstanceOf[Def[_, _]]

  override def equals(that: Any): Boolean = that match {
    case that: Def[_, _] =>
      getClass == that.getClass && validation == that.validation && json == that.json
    case _ => false
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy