Matt Price
Matt Price
@mattjhnprc.bsky.social
Reposted by Matt Price
You can create your source generators. However, Microsoft provides many built-in source generators. One of them can help boost serialization performance.  

Learn how to use Source Generators with System.Text.Json from my introduction post.

okyrylchuk.dev/blog/intro-...
Intro to Serialization with Source Generation in System.Text.Json
System.Text.Json serializer uses reflections for serialization and deserialization. Reflection is slow. Learn how you can serialize object using Source Generation in .NET.
okyrylchuk.dev
March 7, 2025 at 6:48 PM
Just ordered, can't wait to read
March 2, 2025 at 6:43 PM