Documentation Index
Fetch the complete documentation index at: https://easyaf.dev/llms.txt
Use this file to discover all available pages before exploring further.
Definition
Assembly: Microsoft.OData.Mcp.Core.dll
Namespace: Microsoft.OData.Mcp.Core.Constants
Inheritance: System.Object
Syntax
Microsoft.OData.Mcp.Core.Constants.JsonConstants
Summary
Provides centralized, reusable JsonSerializerOptions instances to improve memory efficiency and performance.
Creating new JsonSerializerOptions instances is expensive as each instance creates internal caches and converters.
By reusing these static instances, we significantly reduce memory allocations and improve performance.
These options are thread-safe and can be used concurrently across the application.