Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dfinity/orbit
/ objectDeserialize
Function
objectDeserialize
apps/wallet/src/utils/storage.utils.ts:5–5 ·
view source on GitHub ↗
(value: string)
Source
from the content-addressed store, hash-verified
3
4
export
const
objectSerialize = <T>(value: T): string => JSON.stringify(value);
5
export
const
objectDeserialize = <T>(value: string): T => JSON.parse(value);
6
7
export
function
useStorage<T>({
8
key,
Callers
nothing calls this directly
Calls
1
parse
Method · 0.80
Tested by
no test coverage detected