1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | 1 1 | import unmarshalItem from './unmarshalItem'; /** * Translates a DynamoDb formatted object, into a normally formatted object * represented as a JSON string. * * @param {Object} item DynamoDb formatted object. * @returns {String} JSON representation of a javascript object. */ function unmarshalJson(item) { return JSON.stringify(unmarshalItem(item)); } export default unmarshalJson; |