Commit Graph
3 Commits
Author SHA1 Message Date
dualfroz f078e2a2c0 Fall back to public fields only when a type exposes no properties 2026-09-23 10:20:34 +02:00
dualfroz 209a7d0707 feat: add IncludePublicFields option to JsonSerializeOptions
Allow the JSON serializer to include public instance fields in the
output in addition to public properties, controlled by the new
JsonSerializeOptions.IncludePublicFields flag (default false to keep
existing behaviour). Field metadata is cached per type like enum and
property reflection lookups.

Closes #3920
2026-09-06 02:00:33 +02:00
upstream b78676e244 Upstream NLog/NLog state of the touched files before cc54b6d1e1 2026-09-02 01:50:51 +02:00