method C2PAValidationError.prototype.toJSON C2PAValidationError.prototype.toJSON(): object Serialize the current error as an object. Return Type object