function encodeValueForQueryObject(e){if(null!=e)return"boolean"==typeof e?!0===e?"true":"false":"number"==typeof e?e.toString():"string"==typeof e?e:"object"==typeof e?JSON.stringify(e):void 0}function jsonToQueryObject(e){const o={};for(const n in e){var t=encodeValueForQueryObject(e[n]);void 0!==t&&(o[n]=t)}return o}export{jsonToQueryObject};