Have ServiceStack treatEmpty String rather than null
Posted: Tue Sep 04, 2018 2:53 pm
Hi Mike
I am getting a situation with ServiceStack using JsonServiceClient where it is passing a custom DTO where a string property is being set to an empty string ("") but when it deserializes it in the API its being set to null I have tried JsConfig.IncludeNullValues but this makes no difference, any ideas?
I am getting a situation with ServiceStack using JsonServiceClient where it is passing a custom DTO where a string property is being set to an empty string ("") but when it deserializes it in the API its being set to null I have tried JsConfig.IncludeNullValues but this makes no difference, any ideas?