Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/db
/ toJSON
Method
toJSON
packages/db-ivm/src/multiset.ts:25–27 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
23
}
24
25
toJSON(): string {
26
return
JSON.stringify(Array.from(this.getInner()))
27
}
28
29
static fromJSON<U>(json: string): MultiSet<U> {
30
return
new
MultiSet(JSON.parse(json))
Callers
2
serializeValue
Function · 0.80
serializeValue
Function · 0.80
Calls
2
getInner
Method · 0.95
from
Method · 0.80
Tested by
no test coverage detected