✅ Newtonsoft serializing returns nothing with custom converter
So I have a custom
I have this
So just to be clear, any other token types works fine along with any objects that don't have
JsonConverter from newtonsoft that is supposed to replace object properties that are a specific type. For context, I'm looking for a type called IOptional that has properties HasValue and Value only if HasValue is true. If HasValue is true, the converter is supposed to replace the json property with Value. Otherwise, it replaces to null. I have this
So just to be clear, any other token types works fine along with any objects that don't have
IOptional properties. But when I try this with types that do, serialization returns nothing. Not sure if im incorrectly writing to the jsonwriter, but its been annoying for a few days