With System.Text.Json, is there a way to EXCLUDE properties from a BASE class from serialization?

Subscribers:
4,110
Published on ● Video Link: https://www.youtube.com/watch?v=qyPVDqjt1Qo



Duration: 0:00
1 views
0


With System.Text.Json, is there a way to EXCLUDE properties from a BASE class from serialization?
I hope you found a solution that worked for you :)
The Content is licensed under (https://meta.stackexchange.com/help/licensing) CC BY-SA.
Attention! This video does always use the same license as the source!
Thanks to all those great people for their contributions!

(stackoverflow.com/users/4668963/azulbonnet)azulBonnet
(stackoverflow.com/users/2411960/andrew-keepcoding)Andrew KeepCoding
(stackoverflow.com/users/11984907/chandanbsd)chandanbsd
A special thanks goes out to the (stackoverflow.com/questions/79471272/with-system-text-json-is-there-a-way-to-exclude-properties-from-a-base-class-fr)Stackexchange community

I wish you all a wonderful day! Stay safe :)
If anything is off, please write me at peter D.O.T schneider A.T ois42.de

.net community-toolkit-mvvm c# system.text.json




Other Videos By Peter Schneider


2025-03-05Tex: Multiple & in aligned environment leads to weird results
2025-03-05Salesforce: URL Addressable LWC and Navigation in the Mobile App
2025-03-05Tex: Apply a different lstset to all lstinputlisting environments
2025-03-05Salesforce: Lightning tree grid: click on row to open record
2025-03-05Tex: Calculation of a future date that falls on a specific day of the week, e.g., Saturday
2025-03-05Salesforce: segregation of Accounts?
2025-03-05Tex: how to have two columns of bullet points
2025-03-05Webmasters: Adding A DKIM record that is too long
2025-03-05Dba: Waterfall Results for Numerous Individual Calculations
2025-03-05Tex: Enumitem: Sublist resume but restart at main list item
2025-03-04With System.Text.Json, is there a way to EXCLUDE properties from a BASE class from serialization?
2025-03-03Why does a virtual default destructor make a class non-trivially-destructible?
2025-03-03Bitcoin: Combinatorics of Bitcoin mining: *difficulty* vs number of trials of nonces and 32 bit n...
2025-03-03Gis: Adding more than 12 month to date in QGIS
2025-03-03Splitting a string into n segments of equal length m
2025-03-03How to get 'Get-Member' to correctly tell the object type
2025-03-033dprinting: Help with "the given mesh is not closed", simple union of polyhedron and cube
2025-03-03Wordpress: Cant display custom post type posts from a specific category Wordpress
2025-03-03How to get the real size of a directory used on the disk in Java?
2025-03-03Differences in constraint validation order between compilers?
2025-03-03Ceph mon automatically getting deployed