Show / Hide Table of Contents

Class LambdaJsonSerializer

Custom ILambdaSerializer implementation which uses Newtonsoft.Json.JsonSerializer for serialization.

Inheritance
System.Object
Amazon.Lambda.Serialization.Json.JsonSerializer
LambdaJsonSerializer
Namespace: LambdaSharp.Serialization
Assembly: LambdaSharp.dll
Syntax
public class LambdaJsonSerializer : JsonSerializer, ILambdaSerializer

Constructors

LambdaJsonSerializer()

Constructs instance of serializer.

Declaration
public LambdaJsonSerializer()

Methods

Deserialize(Stream, Type)

The Deserialize(Stream, Type) method deserializes the JSON object from a string.

Declaration
public object Deserialize(Stream stream, Type type)
Parameters
Type Name Description
System.IO.Stream stream

Stream to serialize.

System.Type type

The type to instantiate.

Returns
Type Description
System.Object

Deserialized instance.

Extension Methods

ILambdaSerializerEx.Serialize<T>(ILambdaSerializer, T)
ILambdaSerializerEx.Deserialize<T>(ILambdaSerializer, String)
ILambdaSerializerEx.Deserialize(ILambdaSerializer, String, Type)
In This Article
Back to top Generated by DocFX