CC#•Created by [LFK] Kohotatsu on 5/17/2024 in #help .NET8 Serialize class as JSON
Thanks a lot, I just hadn't found the right JsonSerializerOptions.
Just for the precision, I used:
"jsonSerializerOptions = new(){IncludeFields = true};"
and it work just fine. thanks again.