docs: function jsonGetData(data, keypath, appendData = 0, delimiter = '.') {
      let tmp = data,
          ignore,
          r;
      keypath = keypath || [];
      typeof keypath == 'string' && (keypath = keypath.split(delimiter));
  
      if (!(data && keypath.length)) return r;
      keypath.slice(0, -1).map(val => {
          if (val && tmp && val in tmp) {
              tmp = tmp[val];
          } else {
              if (appendData) {
                  tmp[val] = {};
                  tmp = tmp[val];
              } else {
                  ignore = 1;
              }
          }
      });
      if (!ignore && tmp && keypath && keypath.length) {
          r = tmp[keypath.slice(-1)];
      }
  
      return r;
  }