code: function (section, data, ginaData) {
  
              try {
                  var txt = $json.text();
                  if (txt == '' || txt == 'null' ) {
                      $json.text('Empty')
                  } else {
                      jsonObject = JSON.parse(txt);
                      ginaJsonObject = JSON.parse($ginaJson.text());
                      $json.text('');
  
                      // backing up document data
                      if (!originalData) {
                          originalData = {
                              jsonObject      : JSON.parse(JSON.stringify(jsonObject)),
                              ginaJsonObject  : JSON.parse(JSON.stringify(ginaJsonObject))
                          }
                      }
                  }
  
              } catch (err) {
                  $json.text('Could not load data');
              }
  
              if (jsonObject) {
  
                  if (data && !ginaData) {
                      if ( !jsonObject[section] )
                          jsonObject[section] = {};
  
                      jsonObject[section] = ginaJsonObject[section] = data;
  
                  } else if ( section == 'data-xhr' && !data && jsonObject['data-xhr'] ) {
                      // reset xhr
                      delete jsonObject['data-xhr'];
                  } else if (ginaData) {
                      jsonObject      = data;
                      ginaJsonObject  = ginaData;
                  }
  
                  // Make folding paths
                  makeFoldingPaths(jsonObject, '');
                  // Create DOM from JSON
                  $htmlData.html('<ul class="gina-toolbar-code">' + parseObject(jsonObject, ginaJsonObject) +'</ul>');
  
                  // Manage folding state
                  settings.currentFile = jsonObject.file;
                  if (!settings.currentFile) {
                      // Init currentFile if none exists
                      settings.currentFile = jsonObject.file;
                  } else if (jsonObject.file == settings.currentFile) {
                      // If current page is the same as the previous page, unfold code as neede
                      $(document).ready(function () {
                          if ( settings.isUnfolded.length > 0)
                              initFoldingState(settings.isUnfolded, settings.isUnfolded.length, 0);
                      })
                  }
              }
          }
docs: loadData
  
  @param {object} [section]
  @param {object} [data]
  @param {object} [ginaData]