Amazon.Lambda.Serialization.SystemTextJson 2.2.0 Prefix Reserved

Install-Package Amazon.Lambda.Serialization.SystemTextJson -Version 2.2.0
dotnet add package Amazon.Lambda.Serialization.SystemTextJson --version 2.2.0
<PackageReference Include="Amazon.Lambda.Serialization.SystemTextJson" Version="2.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Amazon.Lambda.Serialization.SystemTextJson --version 2.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Amazon.Lambda.Serialization.SystemTextJson, 2.2.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Amazon.Lambda.Serialization.SystemTextJson as a Cake Addin
#addin nuget:?package=Amazon.Lambda.Serialization.SystemTextJson&version=2.2.0

// Install Amazon.Lambda.Serialization.SystemTextJson as a Cake Tool
#tool nuget:?package=Amazon.Lambda.Serialization.SystemTextJson&version=2.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Amazon.Lambda.Serialization.SystemTextJson

This package contains a custom Amazon.Lambda.Core.ILambdaSerializer implementation which uses System.Text.Json to serialize/deserialize .NET types in Lambda functions. This serializer targets .NET Core 3.1 so can not be used with the .NET Core 2.1 Lambda runtime.

If targeting .NET Core 3.1 this serializer is highly recommend over Amazon.Lambda.Serialization.Json and can significantly reduce cold start performance in Lambda.

This serializer can be present on the assembly or on the handler method. If you specify both, the method attribute takes priority.

Here is an example of setting this attribute on the assembly.

[assembly: Amazon.Lambda.Core.LambdaSerializer(typeof(Amazon.Lambda.Serialization.SystemTextJson.DefaultLambdaJsonSerializer))]

And this is how the method can be applied to the handler method.

[Amazon.Lambda.Core.LambdaSerializer(typeof(Amazon.Lambda.Serialization.SystemTextJson.DefaultLambdaJsonSerializer))]
public Response CustomSerializerMethod(Request input)
{
    ...
}

NuGet packages (8)

Showing the top 5 NuGet packages that depend on Amazon.Lambda.Serialization.SystemTextJson:

Package Downloads
Amazon.Lambda.AspNetCoreServer

Amazon.Lambda.AspNetCoreServer makes it easy to run ASP.NET Core Web API applications as AWS Lambda functions.

Kralizek.Lambda.Template

A structured template to create AWS Lambda in C#. It supports Logging, Dependency Injection and Configuration like ASP.NET Core projects do.

LambdaSharp

Serverless .NET for AWS - Lambda Library

aws-lambda-extensions

Package Description

Thundra.Agent

Package Description

GitHub repositories (5)

Showing the top 5 popular GitHub repositories that depend on Amazon.Lambda.Serialization.SystemTextJson:

Repository Stars
aws/aws-lambda-dotnet
Libraries, samples and tools to help .NET Core developers develop AWS Lambda functions.
exceptionless/Exceptionless.Net
Exceptionless clients for the .NET platform
aws/aws-extensions-for-dotnet-cli
Extensions to the dotnet CLI to simplify the process of building and publishing .NET Core applications to AWS services
aws-samples/aws-net-guides
.NET Developer step by step guides for building solutions on AWS
jorgevgut/airquality-mx
Version Downloads Last updated
2.2.0 207,801 11/5/2021
2.1.0 3,628,569 10/21/2020
2.0.2 349,419 9/16/2020
2.0.1 1,290,638 5/4/2020
2.0.0 687,822 4/28/2020
1.0.0 382,764 3/31/2020