docs: function(text, settings) {
              var that = this;
              settings = settings || {};
  
              var getTypeId = settings.getTypeId || function(object) { return that.getTypeId(object); };
              var getConstructor = settings.getConstructor || function(id) { return that.typeMap[id]; };
              var reviver = settings.reviver || function(key, value) { return that.reviver(key, value, getTypeId, getConstructor); };
  
              return JSON.parse(text, reviver);
          }