Hello,
my model has decimal type and it isn't write as primitive type in JSON output. I was looking to code and there is method called CanWriteTypeAsPrimitive which returns false for decimal. Is it ok? It behaves similiar for Nullable<int>, Nullable<decimal>, etc.