SystemJsonSerializer support

I have been using the default XmlSerializer for NServiceBus until now.
A few projects are using NewtonSoftSerializer.

Do you think it´s a good time to jump on the SystemJsonSerializer yet?

Will it be officially supported by Particular anytime soon?

Hi!

Do you think it´s a good time to jump on the SystemJsonSerializer yet?

From what I can tell it’s stable and well-functioning so I see no issues with you starting to use the community serializer and with the steady increase in the adoption of system.text.json it seems like a step in the right direction to move away from XML.

Switching serializers can be tricky due to messages in-flight containing the old serialization format. Take a look at our support for multiple de-serializers to support both during a transition period

Will it be officially supported by Particular anytime soon?

We are looking into this but have no timeline for a fully supported System.Text.Json serializer. Feel free to subscribe to Create new JSON message serializer using System.Text.Json · Issue #6577 · Particular/NServiceBus · GitHub to get notified on progress.

Hope this helps!

/Andreas

Would it make sense to migrate SqlPersistence outbox to S.T.J as well?
It will gain some performance and memory boosts, and can even support IAsyncEnumerable (de)serialization so you can stream values to/from the DB if it helps any of the flows