ValidationResult

trait Product
trait Mirror
class Object
trait Matchable
class Any

Type members

Classlikes

private[result] object Messages

Utility messages used in the validation results

Utility messages used in the validation results

Source:
ValidationResult.scala

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror
Source:
Mirror.scala
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from:
Mirror
Source:
Mirror.scala

Value members

Concrete methods

private def getValidationReportJson(report: Result): Json

From a ShaclEx validation report, create a message with its contents if possible, based on its JSON representation

From a ShaclEx validation report, create a message with its contents if possible, based on its JSON representation

Value parameters:
report

Report to be formatted to text

Returns:

JSON containing the report information

Source:
ValidationResult.scala

Implicits

Implicits

implicit val encoder: Encoder[ValidationResult]

Encoder: ValidationResult => JSON Encode the given validation result as a JSON object

Encoder: ValidationResult => JSON Encode the given validation result as a JSON object

Source:
ValidationResult.scala