Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/compiler-explorer/compiler-explorer
/ encode_uri
Function
encode_uri
shared/rison.ts:216–218 ·
view source on GitHub ↗
(v: JSONValue)
Source
from the content-addressed store, hash-verified
214
*
215
*/
216
export
function
encode_uri(v: JSONValue) {
217
return
quote(unwrap(encode_table[typeof v](v)));
218
}
219
220
//
221
// based on openlaszlo-json and hacked by nix for use in uris.
Callers
nothing calls this directly
Calls
2
quote
Function · 0.85
unwrap
Function · 0.70
Tested by
no test coverage detected