Custom Class Serialization
Is it possible to use a custom JSON serializer on a class?
For example, I have a class with a few properties (Member), and another class with the class "Member" as a child property. I want the JSON serializer (Microsoft's version,
System.Texts.Json
) to serialize the entire Member class as just a string.
Anyone know how this is done/if it can be done?
Thanks.
4 Replies
Thanks
Any idea what could be causing this?
Apparently it's not supported in Visual Basic :(
Funny cause like the rest of the language is totally chill with everything else C#. Oh well, guess I'll have to find another way or look at Newtonsoft.
Thanks again 👋