Code
Hub
Trending
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/json-editor/json-editor
/ sanitize
Method
sanitize
src/editors/string.js:365–368 ·
view source on GitHub ↗
* This is overridden in derivative editors
(value)
Source
from the content-addressed store, hash-verified
363
* This is overridden in derivative editors
364
*/
365
sanitize (value) {
366
value = this.purify(value)
367
return
value
368
}
369
370
/**
371
* Re-calculates the value
if
needed
Callers
2
setValue
Method · 0.95
build
Method · 0.95
Calls
1
purify
Method · 0.80
Tested by
no test coverage detected