The unemployment rate rose to 4% in December, in line with forecasts, and compares with a 3.9% rise in the previous month.