In C #, you can convert newImage to pure JSON using the DynamoDB document class
using Amazon.DynamoDBv2.DocumentModel;
var streamRecord = DynamoEvent.Records.First ();
var jsonResult = Document.FromAttributeMap (streamRecord.Dynamodb.NewImage) .ToJson ();
and if you want to go further to convert JSON to an object, you can use Newtonsoft
using Newtonsoft.Json;
Model TModel = JsonConvert.DeserializeObject (jsonResult);
source share