MCPcopy Index your code
hub / github.com/buildbot/buildbot / parse

Function parse

www/data-module/src/data/DataUtils.ts:73–81  ·  view source on GitHub ↗
(object : any)

Source from the content-addressed store, hash-verified

71}
72
73export function parse(object : any): any {
74 for (let k in object) {
75 const v = object[k];
76 try {
77 object[k] = JSON.parse(v);
78 } catch (error) {}
79 } // ignore
80 return object;
81}
82
83export function numberOrString(str: string | number) : number {
84 // if already a number

Callers 1

DataUtils.test.tsFile · 0.90

Calls 1

parseMethod · 0.65

Tested by

no test coverage detected