Soenneker.Cosmos.Serializer 4.0.2625

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Soenneker.Cosmos.Serializer --version 4.0.2625
                    
NuGet\Install-Package Soenneker.Cosmos.Serializer -Version 4.0.2625
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Cosmos.Serializer" Version="4.0.2625" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Cosmos.Serializer" Version="4.0.2625" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Cosmos.Serializer" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Cosmos.Serializer --version 4.0.2625
                    
#r "nuget: Soenneker.Cosmos.Serializer, 4.0.2625"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.Cosmos.Serializer@4.0.2625
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Cosmos.Serializer&version=4.0.2625
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Cosmos.Serializer&version=4.0.2625
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

alternate text is missing from this package README image Soenneker.Cosmos.Serializer

A fast, lightweight JSON (de)serializer for Azure Cosmos DB

This serializer leverages Systems.Text.Json, overriding the default Json.Net serializer. It also uses RecyclableMemoryStream for further memory improvements.

Installation

dotnet add package Soenneker.Cosmos.Serializer

Usage

When constructing a CosmosClientOptions, simply set the Serializer property to a new instance and use your IMemoryStreamUtil singleton.

var clientOptions = new CosmosClientOptions()
{
    Serializer = new CosmosSystemTextJsonSerializer(_memoryStreamUtil)
};
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Soenneker.Cosmos.Serializer:

Package Downloads
Soenneker.Cosmos.Client

A utility library for Azure Cosmos client accessibility

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.0.2645 477 6/20/2026
4.0.2644 446 6/20/2026
4.0.2643 283 6/19/2026
4.0.2642 239 6/19/2026
4.0.2641 111 6/19/2026
4.0.2639 315 6/19/2026
4.0.2638 338 6/18/2026
4.0.2635 1,089 6/16/2026
4.0.2634 280 6/16/2026
4.0.2633 888 6/10/2026
4.0.2632 474 6/10/2026
4.0.2631 406 6/9/2026
4.0.2630 545 6/9/2026
4.0.2629 1,076 6/6/2026
4.0.2628 400 6/6/2026
4.0.2627 113 6/6/2026
4.0.2626 183 6/6/2026
4.0.2625 420 6/6/2026
4.0.2624 109 6/5/2026
4.0.2622 105 6/5/2026
Loading failed

Update dependency Soenneker.Json.OptionsCollection to 4.0.1261 (#3281)