Commit Graph
5 Commits
Author SHA1 Message Date
dualfroz eb43ff4c98 Drop the extra MruCache and resolve public fields lazily into the existing cache entry 2026-10-11 18:59:41 +02:00
dualfroz 05f5fc4dc9 Describe IncludePublicFields as a fallback and write a shadowed field once 2026-09-23 11:51:34 +02:00
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