Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 863 Bytes

File metadata and controls

40 lines (27 loc) · 863 Bytes

Jil

A fast JSON (de)serializer, built on Sigil with a number of somewhat crazy optimization tricks.

Install

Install-Package StackExchange.Redis.Extensions.Jil
dotnet add package StackExchange.Redis.Extensions.Jil
<PackageReference Include="StackExchange.Redis.Extensions.Jil" Version="8.0.5" />
paket add StackExchange.Redis.Extensions.Jil****

Setup

Now that you have installed the package, you can register it into your favourite dependency injection framework:

Example using Microsoft.Extensions.DependencyInjection:

services.AddSingleton<ISerializer, JilSerializer>();

Example using Castle.Windsor:

container.Register(Component.For<ISerializer>()
				.ImplementedBy<JilSerializer>()
				.LifestyleSingleton());