C#C
C#3y ago
Allan

Serialize a JsonDocument/JsonElement with STJ

I have a class with an object property. When deserializing something into this class, it deserializes it as a JsonElement. When trying to serialize it back to raw JSON, it will serialize the actual properties of JsonElement or JsonDocument... Any idea?
Was this page helpful?