Skip to content

Should JsonSerializerOptions have bounds in its cache size? #35084

@jozkee

Description

@jozkee

What prevents the caches inside of this instance from growing unbounded? Do we need to place a limit on the size of the cache, making it an LRU cache or something like that?

Originally posted by @stephentoub in #35040 (comment)

cc @steveharter @layomia

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions