hazelcast-client
Version:
Hazelcast - open source In-Memory Data Grid - client for NodeJS
16 lines • 501 B
JavaScript
function deserializeEntryList(toObject, entrySet) {
var deserializedSet = [];
entrySet.forEach(function (entry) {
deserializedSet.push([toObject(entry[0]), toObject(entry[1])]);
});
return deserializedSet;
}
exports.deserializeEntryList = deserializeEntryList;
function serializeList(toData, input) {
return input.map(function (each) {
return toData(each);
});
}
exports.serializeList = serializeList;
//# sourceMappingURL=SerializationUtil.js.map
;