@serenity-js/core
Version:
The core Serenity/JS framework, providing the Screenplay Pattern interfaces, as well as the test reporting and integration infrastructure
11 lines • 399 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.TextData = void 0;
const JSONData_1 = require("./JSONData");
class TextData extends JSONData_1.JSONData {
static fromJSON(value) {
return new TextData(Buffer.from(JSON.stringify(value, undefined, 0), 'utf8').toString('base64'));
}
}
exports.TextData = TextData;
//# sourceMappingURL=TextData.js.map
;