UNPKG

hal-4-angular

Version:

This Angular module offers a HAL/JSON http-client to easily interact with a Spring Data Rest API or any API that implements the Spring Data Rest resource model

19 lines (18 loc) 572 B
var CustomEncoder = /** @class */ (function () { function CustomEncoder() { } CustomEncoder.prototype.encodeKey = function (key) { return encodeURIComponent(key); }; CustomEncoder.prototype.encodeValue = function (value) { return encodeURIComponent(value); }; CustomEncoder.prototype.decodeKey = function (key) { return decodeURIComponent(key); }; CustomEncoder.prototype.decodeValue = function (value) { return decodeURIComponent(value); }; return CustomEncoder; }()); export { CustomEncoder };