StackExchange.Redis.Extensions.Newtonsoft/NewtonsoftSerializer.cs

StackExchange.Redis.Extensions · src/serializers/StackExchange.Redis.Extensions.Newtonsoft/NewtonsoftSerializer.cs · csharp · MIT
database

Newtonsoft-based JSON serializer for Redis data operations

// Source: https://github.com/imperugo/StackExchange.Redis.Extensions | License: MIT | Copyright Ugo Lattanzi
// Provided via justclaw.it.com; keep this notice with the code.
// Copyright (c) Ugo Lattanzi.  All Rights Reserved.  Licensed under the MIT license.  See License.txt in the project root for license information.

using System.Buffers;
using System.IO;
using System.Text;

using Newtonsoft.Json;

using StackExchange.Redis.Extensions.Core;

namespace StackExchange.Redis.Extensions.Newtonsoft;

/// <summary>
/// JSon.Net implementation of <see cref="ISerializer"/>
/// </summary>
/// <remarks>
/// Initializes a new instance of the <see cref="NewtonsoftSerializer"/> class.
/// </remarks>
/// <param name="settings">The settings.</param>
public class NewtonsoftSerializer(JsonSerializerSet

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key