Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/prisma/prisma
/ escapeJson
Function
escapeJson
packages/client-generator-ts/src/TSClient/helpers.ts:50–52 ·
view source on GitHub ↗
(str: string)
Source
from the content-addressed store, hash-verified
48
}
49
50
export
function
escapeJson(str: string): string {
51
return
str.replace(/\\n/g,
'\\\\n'
).replace(/\\r/g,
'\\\\r'
).replace(/\\t/g,
'\\\\t'
)
52
}
Callers
1
buildRuntimeDataModel
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected