SharpSerializer
SharpSerializer copied to clipboard
SharpSerializer Is failing when object has non existing properties
SharpSerializer Is failing when object has non existing properties. Just need to check if Dictionary has key line code here
How fix it?
How fix it?
Try to override SharpSerializer with your classes and check if key exists
return _objectCache.Any(x => x.Key == referenceTarget.Reference.Id) ? _objectCache[referenceTarget.Reference.Id] : null;