amazon-archives / aws-sdk-xamarin

AWS Mobile SDK for Xamarin (Beta)
Apache License 2.0
45 stars 18 forks source link

Does aws-sdk-xamarin have dynamodb mapper #29

Closed jasonmc86 closed 9 years ago

jasonmc86 commented 9 years ago

Hey @tawalke, does this library (aws-sdk-xamarin) have the concept of a dynamodb mapper or an alternative?

http://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/dynamodbv2/datamodeling/DynamoDBMapper.html?

Cheers,

Jason

tawalke commented 9 years ago

@jasonmc86 Not quite but you should be able to use the Document API and JSON Support: http://blogs.aws.amazon.com/net/post/Tx2R0WG46GQI1JI/-span-class-matches-DynamoDB-span-Series-Document-Model

http://blogs.aws.amazon.com/net/post/Tx14U0PAQWWHGXM/-span-class-matches-DynamoDB-span-JSON-Support

tawalke commented 9 years ago

Let me know if this provides what you want with JSON.NET serializing to an object and back out. http://www.newtonsoft.com/json/help/html/SerializingJSON.htm and then using DocumentAPI.

findly-jasonmcmonagle commented 9 years ago

@tawalke, Yep document api and newtonsoft worked together perfectly to give me what i needed thanks :+1:

tawalke commented 9 years ago

Excellent, glad to hear it!