MCPcopy Create free account
hub / github.com/adonisjs/session / toJSON

Method toJSON

src/values_store.ts:110–112  ·  view source on GitHub ↗

* Returns the store values as JSON-serializable data * * @example * const json = store.toJSON()

()

Source from the content-addressed store, hash-verified

108 * const json = store.toJSON()
109 */
110 toJSON(): any {
111 return this.all()
112 }
113
114 /**
115 * Returns string representation of the store

Callers 3

commitMethod · 0.80
commitMethod · 0.80

Calls 1

allMethod · 0.95

Tested by

no test coverage detected