MCPcopy Index your code
hub / github.com/ether/etherpad / toJSON

Method toJSON

src/node/db/Pad.ts:337–344  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

335 }
336
337 toJSON() {
338 const o:Pad = {...this, pool: this.pool.toJsonable()};
339 // @ts-ignore
340 delete o.db;
341 // @ts-ignore
342 delete o.id;
343 return o;
344 }
345
346 // save all attributes to the database
347 async saveToDatabase() {

Callers 7

SessionStore.tsFile · 0.45
server.tsFile · 0.45
_updateMethod · 0.45
ExportEtherpad.tsFile · 0.45
specialpages.tsFile · 0.45
adminplugins.tsFile · 0.45
_updateExpirationsMethod · 0.45

Calls 1

toJsonableMethod · 0.80

Tested by

no test coverage detected