Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/compiler-explorer/compiler-explorer
/ decode_object
Function
decode_object
shared/rison.ts:247–249 ·
view source on GitHub ↗
(r: string)
Source
from the content-addressed store, hash-verified
245
* this simply adds parentheses around the string before parsing.
246
*/
247
export
function
decode_object(r: string) {
248
return
decode(
'('
+ r +
')'
);
249
}
250
251
/**
252
* parse an a-rison string into a javascript structure.
Callers
nothing calls this directly
Calls
1
decode
Function · 0.85
Tested by
no test coverage detected