versions/jsonc.js
function _decompressOther(jsonCopy) {
    var oKeys, str, sKey;

    oKeys = JSON.parse(JSON.stringify(jsonCopy._));
    delete jsonCopy._;
    str = JSON.stringify(jsonCopy);
    for (sKey in oKeys) {
      if (oKeys.hasOwnProperty(sKey)) {
        str = str.replace(new RegExp('"' + sKey + '"', 'g'), '"' + oKeys[sKey] + '"');
      }
    }
    return str;
  }
function _decompressOther(jsonCopy) {
    var oKeys, str, sKey;

    oKeys = JSON.parse(JSON.stringify(jsonCopy._));
    delete jsonCopy._;
    str = JSON.stringify(jsonCopy);
    for (sKey in oKeys) {
      if (oKeys.hasOwnProperty(sKey)) {
        str = str.replace(new RegExp('"' + sKey + '"', 'g'), '"' + oKeys[sKey] + '"');
      }
    }
    return str;
  }
function _decompressOther ( jsonCopy ) { var oKeys , str , sKey ; oKeys = JSON . parse ( JSON . stringify ( jsonCopy . _ ) ) ; delete jsonCopy . _ ; str = JSON . stringify ( jsonCopy ) ; for ( sKey in oKeys ) { if ( oKeys . hasOwnProperty ( sKey ) ) { str = str . replace ( new RegExp ( '"' + sKey + '"' , 'g' ) , '"' + oKeys [ sKey ] + '"' ) ; } } return str ; }
Method to decompress anything but array
@private
@param jsonCopy
@returns {*}
Method to decompress anything but array