This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class MessageAttributesConverterSerializeContractResolver : JsonConverter<Dictionary<string, SQSEvent.MessageAttribute>> | |
| { | |
| public override bool CanRead => false; | |
| public override void WriteJson(JsonWriter writer, Dictionary<string, SQSEvent.MessageAttribute> value, JsonSerializer serializer) | |
| { | |
| var o = new JObject(); | |
| foreach (var key in value.Keys) | |
| { |