UNPKG

@kaaiot/mqtt-client

Version:

Comprehensive MQTT client tailored for the Kaa IoT platform, providing a range of methods to interact with the platform's features.

14 lines (13 loc) 279 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.safeJson = void 0; var safeJson = function (value) { try { return JSON.parse(value); } catch (e) { /* empty */ } return null; }; exports.safeJson = safeJson;