Join James and Matt as they walk through some advanced features in System.Text.Json (STJ) on how to allow comments, trailing commas, and quoted numbers in JSON when deserializing data. We also talk through out to write numbers as strings if needed.
Documentation: https://learn.microsoft.com/dotnet/standard/serialization/system-text-json/invalid-json
00:00 - Intro
01:26 - Invalid JSON Example
02:50 - Allowing Training Commands and Comments
04:15 - Reading & Writing Quoted Numbers
07:58 - Wrap-up
Blog: https://aka.ms/dotnet/blog
Twitter: https://aka.ms/dotnet/twitter
TikTok: https://aka.ms/dotnet/tiktok
Mastodon: https://aka.ms/dotnet/mastodon
LinkedIn: https://aka.ms/dotnet/linkedin
Facebook: https://aka.ms/dotnet/facebook
Docs: https://learn.microsoft.com/dotnet
Forums: https://aka.ms/dotnet/forums
🙋♀️Q&A: https://aka.ms/dotnet-qa
👨🎓Microsoft Learn: https://aka.ms/learndotnet
#dotnet #systemtextjson #json