Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Serialize value of property only - C#
C
C#
•
3y ago
•
14 replies
Pannekoekje
Serialize value of property only
Given this code
:
https://dotnetfiddle.net/C3Pt3C
How would I only serialize the value of the
"TempType
" rather than the whole object
?
C# Online Compiler | .NET Fiddle
Test your C
# code online with
.NET Fiddle code editor
.
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
XML Serialization: How to serialize a property with a null value without xsi:nill attribute?
C
C# / help
3y ago
✅ EF Core include only one property of collection
C
C# / help
2y ago
❔ Newtonsoft JSON trying to serialize list of objects with a two dimensional array "shape" property.
C
C# / help
3y ago
Init only collection property contructor from IEnumerable
C
C# / help
2y ago