Serialize.Linq 3.0.152

dotnet add package Serialize.Linq --version 3.0.152
NuGet\Install-Package Serialize.Linq -Version 3.0.152
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="Serialize.Linq" Version="3.0.152" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Serialize.Linq --version 3.0.152
#r "nuget: Serialize.Linq, 3.0.152"
#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.
// Install Serialize.Linq as a Cake Addin
#addin nuget:?package=Serialize.Linq&version=3.0.152

// Install Serialize.Linq as a Cake Tool
#tool nuget:?package=Serialize.Linq&version=3.0.152


Serialize.Linq is a .NET library that provides functionality to serialize and deserialize LINQ expressions. This library is useful in scenarios where you need to send LINQ expressions over the wire or persist them in a database.


  • Serialize and deserialize LINQ expressions to XML, JSON, and binary formats.
  • Supports various types of expressions, including binary, unary, member access, lambda, and more.
  • Extensible design that allows you to add support for custom expressions.

Getting Started


You can install Serialize.Linq via NuGet:

Install-Package Serialize.Linq


Here's a simple example of how to use Serialize.Linq:

// Create an expression
Expression<Func<int, bool>> expression = num => num < 5;

// Create a serializer
var serializer = new ExpressionSerializer(new JsonSerializer());

// Serialize the expression
string serializedExpression = serializer.SerializeText(expression);

// Deserialize the expression
var deserializedExpression = serializer.DeserializeText(serializedExpression);


We welcome contributions to Serialize.Linq! If you'd like to contribute, please fork the repository, make your changes, and submit a pull request. If you're not sure where to start, take a look at our open issues.

For bugs: make sure you create a unit test, so it is easier for me to reproduce and fix it.

You can always buy me a coffee ☕.


Serialize.Linq has a comprehensive test suite. You can run the tests using your preferred test runner.

Supported Platforms (or known to work with)

  • .NET 7.0
  • .NET 6.0
  • .NET 5.0
  • .NET 4.8


Serialize.Linq is licensed under the MIT License. See the LICENSE file for more details.

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.8

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.
  • .NETStandard 2.1

    • No dependencies.
  • net5.0

    • No dependencies.
  • net6.0

    • No dependencies.
  • net7.0

    • No dependencies.

NuGet packages (31)

Showing the top 5 NuGet packages that depend on Serialize.Linq:

Package Downloads
VirtoCommerce.Platform.Data The ID prefix of this package has been reserved for one of the owners of this package by

Virto Commerce is a flexible B2B ecommerce solution that offers powerful tools for enterprise business users.


The `Reactive` module provides a XAF DSL API for functional/stateless implementations.

VirtoCommerce.XDigitalCatalog The ID prefix of this package has been reserved for one of the owners of this package by

Package Description


Easy Application Base module

VirtoCommerce.CoreModule.Data The ID prefix of this package has been reserved for one of the owners of this package by

Common the e-commerce domain functionality

GitHub repositories (4)

Showing the top 4 popular GitHub repositories that depend on Serialize.Linq:

Repository Stars
Microsoft Graph Engine
Virto Commerce B2B Innovation Platform
Library for creating DotNet Web Worker threads/multithreading in Client side Blazor
DSL Platform compatible backend
Version Downloads Last updated
3.0.152 90,792 2/8/2024
3.0.148 59,423 10/21/2023
3.0.136 607 10/21/2023
3.0.134 94,656 6/24/2023
3.0.133 7,883 6/10/2023
3.0.126 847 6/10/2023
2.0.0 1,097,249 12/12/2020
1.8.1 1,955,833 4/25/2019
1.8.0 1,550 4/25/2019 85,788 10/26/2018
1.7.1 113,360 6/2/2018
1.7.0 15,662 3/20/2018
1.6.0 33,168 1/18/2018
1.5.0 2,610 1/6/2018
1.4.0 20,839 10/16/2017 7,271 9/27/2017
1.3.2 8,059 8/20/2017
1.3.0 15,137 5/9/2017
1.2.4 102,618 6/8/2015
1.2.3 12,792 2/23/2015
1.2.2 3,596 2/11/2015
1.2.1 4,844 1/24/2015
1.2.0 26,052 9/25/2014
1.1.4 21,079 5/10/2013
1.1.3 4,905 2/28/2013
1.1.2 2,134 1/5/2013
1.1.1 2,095 1/2/2013
1.1.0 6,643 1/2/2013

- fix serialization of onbound toString expressions