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

Function decode

shared/rison.ts:237–240  ·  view source on GitHub ↗
(r: string)

Source from the content-addressed store, hash-verified

235 * http://osteele.com/sources/openlaszlo/json
236 */
237export function decode(r: string) {
238 const p = new Parser();
239 return p.parse(r);
240}
241
242/**
243 * parse an o-rison string into a javascript structure.

Callers 2

decode_objectFunction · 0.85
decode_arrayFunction · 0.85

Calls 1

parseMethod · 0.95

Tested by

no test coverage detected