Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/angular/angular-cli
/ parseJson
Function
parseJson
packages/angular/cli/src/utilities/json-file.ts:225–227 ·
view source on GitHub ↗
(content: string)
Source
from the content-addressed store, hash-verified
223
* @returns The parsed JSON object.
224
*/
225
export
function
parseJson<T extends JsonValue>(content: string): T {
226
return
parse(content, undefined, { allowTrailingComma: true }) as T;
227
}
Callers
6
set
Method · 0.90
index_spec.ts
File · 0.85
index_spec.ts
File · 0.85
readJsonFile
Function · 0.85
index_spec.ts
File · 0.85
getWorkspace
Function · 0.85
Calls
1
parse
Function · 0.85
Tested by
no test coverage detected