MCPcopy Create free account
hub / github.com/MiniMax-AI/OpenRoom / fromJSON

Method fromJSON

apps/webuiapps/src/lib/FileSystemStore.ts:468–471  ·  view source on GitHub ↗

* Restore from JSON

(json: string)

Source from the content-addressed store, hash-verified

466 * Restore from JSON
467 */
468 fromJSON(json: string): void {
469 const snapshot = JSON.parse(json) as FileSystemSnapshot;
470 this.fromSnapshot(snapshot);
471 }
472
473 // ============ Get State ============
474

Callers 1

useFileSystemFunction · 0.80

Calls 1

fromSnapshotMethod · 0.95

Tested by

no test coverage detected