Skip to content

Latest commit

 

History

History
135 lines (73 loc) · 2.75 KB

JSONValidation.md

File metadata and controls

135 lines (73 loc) · 2.75 KB

codemirror-json-schema / JSONValidation

Class: JSONValidation

Table of contents

Accessors

Constructors

Methods

Properties

Accessors

schemaTitle

Private get schemaTitle(): any

Returns

any

Defined in

features/validation.ts:77

Constructors

constructor

new JSONValidation(options?)

Parameters

Name Type
options? JSONValidationOptions

Defined in

features/validation.ts:67

Methods

doValidation

doValidation(view): Diagnostic[]

Parameters

Name Type
view EditorView

Returns

Diagnostic[]

Defined in

features/validation.ts:108


rewriteError

Private rewriteError(error): string

Parameters

Name Type
error JsonError

Returns

string

Defined in

features/validation.ts:82

Properties

mode

Private mode: JSONMode = MODES.JSON

Defined in

features/validation.ts:65


options

Private Optional options: JSONValidationOptions

Defined in

features/validation.ts:67


parser

Private parser: DocumentParser

Defined in

features/validation.ts:66


schema

Private schema: null | Draft = null

Defined in

features/validation.ts:63