public void TestColumns() { var orange = new Fruit { Name = "orange", Calories = 50, Description = "Amazing", IsHealthy = true }; var x = AttributeCollection.FromObject(orange); Assert.Equal(@"{ ""name"": { ""S"": ""orange"" }, ""calories"": { ""N"": ""50"" }, ""description"": { ""S"": ""Amazing"" } }", x.ToJson().ToString()); var key = RecordKey.Create <Fruit>("banana"); var x2 = new GetItemRequest("Fruits", key); Assert.Equal(@"{ ""TableName"": ""Fruits"", ""Key"": { ""name"": { ""S"": ""banana"" } } }", x2.ToJson().ToString()); }