Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/astercloud/aster
/ parseClientMessage
Function
parseClientMessage
ui/src/protocol/client-message.ts:133–140 ·
view source on GitHub ↗
(json: string)
Source
from the content-addressed store, hash-verified
131
* Parse a JSON string to ClientMessage
132
*/
133
export
function
parseClientMessage(json: string): ClientMessage | null {
134
try {
135
return
JSON.parse(json) as ClientMessage;
136
}
137
catch {
138
return
null;
139
}
140
}
Callers
nothing calls this directly
Calls
1
parse
Method · 0.45
Tested by
no test coverage detected