@barchart/common-node-js
Version:
Common classes, utilities, and functions for building Node.js servers
24 lines (20 loc) • 519 B
JavaScript
const CompressedJsonSerializer = require('./CompressedJsonSerializer');
module.exports = (() => {
'use strict';
/**
* Converts an object into (and back from) the compressed and encrypted
* representation used on a DynamoDB record.
*
* @public
* @extends {CompressedJsonSerializer}
*/
class EncryptedJsonSerializer extends CompressedJsonSerializer {
constructor(attribute) {
super(attribute);
}
toString() {
return '[EncryptedJsonSerializer]';
}
}
return EncryptedJsonSerializer;
})();