src/Database/JSON/JsonManager.js
/**
     * Parse JSON string as object/array
     * @param {String} string JSON string
     * @returns {Object.<string, any>|Array<any>|String} Parsed array/object or input string if failed
     * @memberof JsonManager
     */
Parse JSON string as object/array
@param {String} string JSON string
@returns {Object.|Array|String} Parsed array/object or input string if failed
@memberof JsonManager
Parse JSON string as object / array @param { String } string JSON string @returns { Object . |Array|String } Parsed array / object or input string if failed @memberof JsonManager
toJSON(string) {
        if (!string) {
            return null;
        }
        try {
            return JSON.parse(string);
        } catch (e) {
            return string;
        }
    }
toJSON ( string ) { if ( ! string ) { return null ; } try { return JSON . parse ( string ) ; } catch ( e ) { return string ; } }
Parse JSON string as object/array
 @param {String} string JSON string
 @returns {Object.<string, any>|Array<any>|String} Parsed array/object or input string if failed
 @memberof JsonManager
Parse JSON string as object / array @param { String } string JSON string @returns { Object . <string any > |Array<any > |String } Parsed array / object or input string if failed @memberof JsonManager