JsonSerializerSwift
JsonSerializerSwift copied to clipboard
Ability to exclude null values in JSON from model object
Hi,
First of thanks a lot for such an effort to build extremely useful library. It is indeed a very helpful.
This is a feature request. Can you please include one property to configure exclusion of Null properties from model object while creating the JSON string.
Let me know if I can be of any help.
Hi shahdiren. Thanks for your interest. Glad to know the library helps.
Do you mean excluding the property totally if the value is null? I may look into it at some point, you're welcome to try out ourself and submit a pull request. However do note that I will only accept request if it's unit tested.