igniteui-react-core
Version:
Ignite UI React Core.
29 lines (28 loc) • 1.2 kB
JavaScript
/*
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
https://www.infragistics.com/legal/license/igultimate-la
https://www.infragistics.com/legal/license/igultimate-eula
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
*/
import { __extends } from "tslib";
import { Base, markType } from "./type";
/**
* @hidden
*/
var JavaScriptSerializer = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(JavaScriptSerializer, _super);
function JavaScriptSerializer() {
return _super.call(this) || this;
}
JavaScriptSerializer.prototype.a = function (a) {
var text_ = a;
return JSON.parse(text_);
};
JavaScriptSerializer.prototype.b = function (a) {
var value_ = a;
return (JSON.stringify(value_));
};
JavaScriptSerializer.$t = markType(JavaScriptSerializer, 'JavaScriptSerializer');
return JavaScriptSerializer;
}(Base));
export { JavaScriptSerializer };