warning_diff.rdf.Range.scala Maven / Gradle / Ivy
The newest version!
package warning_diff.rdf
import sjsonnew.BasicJsonProtocol.*
import sjsonnew.JsonFormat
import warning_diff.JsonClassOps.*
case class Range(
start: Position,
end: Position
) {
override def toString = this.toJsonString
}
object Range {
implicit val instance: JsonFormat[Range] =
caseClass2(apply, unapply)(
"start",
"end"
)
}