Commit Graph

12 Commits

Author SHA1 Message Date
Jon Skeet 93c49cad9f Implement JsonEventFormatter for System.Text.Json
This leads to two different formatters both called
JsonEventFormatter, just in different namespaces. That probably
wouldn't cause too much ambiguity, as few applications would depend
on both packages. It avoids longer names such as
"SystemTextJsonEventFormatter" which is pretty unwieldy.

Both the implementation and the tests are very much based on the
Newtonsoft.Json implementation.

Fixes #42.

Signed-off-by: Jon Skeet <jonskeet@google.com>
2021-03-24 07:22:41 +00:00
Jon Skeet 8b63348296 feat: Extract the existing JSON event formatter from the main SDK
This allows us to remove the Newtonsoft.Json dependency from the
SDK, and implement another event formatter based on System.Text.Json
later on. That should probably wait until we've iterated on the
design of event formatters though.

This commit moves us closer towards (but doesn't fix) #42.

Signed-off-by: Jon Skeet <jonskeet@google.com>
2021-02-13 06:42:43 +00:00
clemensv 8ed5dcfee4 Adding support for Avro encoding.
Signed-off-by: clemensv <clemensv@microsoft.com>
2020-01-15 16:31:33 +01:00
Tobias Lønnerød Madsen 9d5c20e00b
Fixed merge conflicts in .sln
Signed-off-by: Tobias Lønnerød Madsen <m@dsen.tv>
2019-10-31 15:33:35 +01:00
Tobias Lønnerød Madsen 86a786949e
Added sample along with some integration tests
Signed-off-by: Tobias Lønnerød Madsen <m@dsen.tv>
2019-10-31 15:26:52 +01:00
Michael Friis 209247e75f add support for parsing ASP.NET Core HTTP requests into CloudEvents
Signed-off-by: Michael Friis <friism@gmail.com>
2019-10-31 15:24:54 +01:00
Vasili Puchko e0dcaec36a added Kafka transport support as well as Partitioning extension
Signed-off-by: Vasili Puchko <vpuchko@vwd.com>
2019-08-27 12:18:44 +02:00
clemensv 821d04237e appveyor script
Signed-off-by: clemensv <clemensv@microsoft.com>
2018-11-27 19:40:27 +01:00
clemensv c3effb6c3f MQTT and AMQP support added
Signed-off-by: clemensv <clemensv@microsoft.com>
2018-11-26 16:56:25 +01:00
clemensv a650ad5323 More test/doc coverage, send sample
Signed-off-by: clemensv <clemensv@microsoft.com>
2018-11-26 12:47:56 +01:00
clemensv 84d9f29b29 Doc addition
Signed-off-by: clemensv <clemensv@microsoft.com>
2018-11-23 18:44:44 +01:00
clemensv 0c05940c70 CloudEvents OM/Extensions and JSON serializer baseline
Signed-off-by: clemensv <clemensv@microsoft.com>
2018-11-21 17:53:05 +01:00