Skip to content

Welshman Docs / @welshman/lib / getJson

Function: getJson() ​

getJson(k): any

Defined in: packages/lib/src/Tools.ts:462

Gets and parses JSON from localStorage

Parameters ​

k ​

string

Storage key

Returns ​

any

Parsed value or undefined if invalid/missing