I have a very simple ServiceStack service which I am invoking it via JSONServiceClient
and c# typed API.
However, when I have empty arguments in Request
params, ServiceStack is deserializing this into null values. I have looked and it seems like in JSV it is by design but JSON should retain non null values as they are. I have now also set following two settings in Global.asax.cs
but with no improvement:
JsConfig.IncludeNullValues = true;
JsConfig.ThrowOnDeserializationError = true;
I'm using ServiceStack version 3.9.69 and IIS version 8.0.