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