MCPcopy Index your code
hub / github.com/json-editor/json-editor / setValue

Method setValue

src/editor.js:601–604  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

599 }
600
601 setValue (value) {
602 value = this.applyConstFilter(value)
603 this.value = value
604 }
605
606 applyConstFilter (value) {
607 if (this.enforceConstEnabled && typeof this.schema.const !== 'undefined') {

Callers 1

postBuildMethod · 0.95

Calls 1

applyConstFilterMethod · 0.95

Tested by

no test coverage detected