Open kobynet opened 8 years ago
This is rather a question more than it's an issue.
Is there a way we can leverage the ignore nulls flag json.net has to offer here?
Since grainState.AsDictionary() is used, KeyValuePair objects are being serialized which will never be null since key is field name.
Hey @kobynet, good question. Are you concerned that properties with null values will be serialised unnecessarily?
Happy to change that behaviour, if you send a PR with a test that covers the case.
This is rather a question more than it's an issue.
Is there a way we can leverage the ignore nulls flag json.net has to offer here?
Since grainState.AsDictionary() is used, KeyValuePair objects are being serialized which will never be null since key is field name.