Serialize.Linq 3.0.152

There is a newer version of this package available.
See the version list below for details.
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

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.

Features

  • 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

Installation

You can install Serialize.Linq via NuGet:

Install-Package Serialize.Linq

Usage

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);

Contributing

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 ☕.

Testing

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

License

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

Virto Commerce is a flexible B2B ecommerce solution that offers powerful tools for enterprise business users. https://virtocommerce.com

Xpand.XAF.Modules.Reactive

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

VirtoCommerce.XDigitalCatalog

Package Description

OO.AppBase

Easy Application Base module

CoreRemoting

Easy to use Remoting library for .NET Core and .NET Framework

GitHub repositories (4)

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

Repository Stars
microsoft/GraphEngine
Microsoft Graph Engine
VirtoCommerce/vc-platform
Virto Commerce B2B Innovation Platform
Tewr/BlazorWorker
Library for creating DotNet Web Worker threads/multithreading in Client side Blazor
ngs-doo/revenj
DSL Platform compatible backend
Version Downloads Last updated
3.1.160 31,782 9/29/2024
3.0.152 488,762 2/8/2024
3.0.148 114,585 10/21/2023
3.0.136 639 10/21/2023
3.0.134 129,439 6/24/2023
3.0.133 8,299 6/10/2023
3.0.126 875 6/10/2023
2.0.0 1,267,023 12/12/2020
1.8.1 2,044,666 4/25/2019
1.8.0 1,584 4/25/2019
1.7.3.1 90,017 10/26/2018
1.7.1 128,881 6/2/2018
1.7.0 16,597 3/20/2018
1.6.0 36,125 1/18/2018
1.5.0 2,659 1/6/2018
1.4.0 22,733 10/16/2017
1.3.2.1 7,700 9/27/2017
1.3.2 9,448 8/20/2017
1.3.0 15,194 5/9/2017
1.2.4 105,986 6/8/2015
1.2.3 13,294 2/23/2015
1.2.2 4,253 2/11/2015
1.2.1 4,892 1/24/2015
1.2.0 30,982 9/25/2014
1.1.4 38,052 5/10/2013
1.1.3 5,013 2/28/2013
1.1.2 2,169 1/5/2013
1.1.1 2,130 1/2/2013
1.1.0 7,256 1/2/2013

- fix serialization of onbound toString expressions