MCPcopy
hub / github.com/compiler-explorer/compiler-explorer / unrisonify

Function unrisonify

shared/url-serialization.ts:213–215  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

211 * Convert rison-encoded string to object
212 */
213export function unrisonify(text: string): any {
214 return rison.decode_object(decodeURIComponent(text.replace(/\+/g, '%20')));
215}
216
217/**
218 * Serialise state object to URL hash string

Callers 2

configFromEmbeddedFunction · 0.85
deserialiseStateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected