Liferay.Loader.define("@liferay/search-experiences-web@3.0.30/sxp_blueprint_admin/js/utils/validation/validate_json",["module","exports","require","../errorMessages","../functions/is_defined","../types/inputTypes"],(function(e,r,i){window;Object.defineProperty(r,"__esModule",{value:!0}),r.default=function validateJSON(e,r){if(null==e||!(0,t.default)(e)||""===e)return;if(r!==s.INPUT_TYPES.JSON)return;try{JSON.parse(e)}catch(e){return n.ERROR_MESSAGES.INVALID_JSON}};var n=i("../errorMessages"),t=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(i("../functions/is_defined")),s=i("../types/inputTypes")}));
//# sourceMappingURL=validate_json.js.map