DEV Community

Cover image for [Video] Polymorphic JSON Serialization (feat. .NET & System.Text.Json)
João Antunes
João Antunes

Posted on • Originally published at blog.codingmilitia.com on

2 2

[Video] Polymorphic JSON Serialization (feat. .NET & System.Text.Json)

Hey folks!

Time for one more video on messing with System.Text.Json, this time to get polymorphic (de)serialization going.

This is a simple approach, that can certainly be further extended and improved, but has been working well in the projects I needed it.

Here are a couple of related links:

Thanks for stopping by, cyaz! 👋

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

Top comments (2)

Collapse
 
nthonymiller profile image
Anthony Miller

Thanks for this post, you saved my day.

Collapse
 
joaofbantunes profile image
João Antunes

Glad it was helpful! 🙂

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay