Skip to content

JSONPath Tools / @jsonpath-tools/codemirror-lang-jsonpath

@jsonpath-tools/codemirror-lang-jsonpath

JSONPath (RFC 9535) language support for CodeMirror editor.

Classes

ClassDescription
DefaultLanguageServicesDefault language services.
LanguageServiceServes as a frontend for a language service providing services for editors.
LanguageServiceBackendServes as a backend for a language service providing services for editors.
OperationCancelledErrorError meaning that an operation was cancelled.

Variables

VariableDescription
formatCodeMirror command to format a JSONPath query.
formatKeymapDefault CodeMirror keymap for JSONPath formatting using Alt+Shift+F.
jsonpathLanguageCodeMirror JSONPath language.
parserCodeMirror JSONPath language parser.
updateQueryArgumentEffectState effect to update query argument.
updateQueryArgumentTypeEffectState effect to update query argument type.
updateQueryOptionsEffectState effect to update query options.

Functions

FunctionDescription
completionSourceCodeMirror completion source for JSONPath.
documentHighlightsCodeMirror extension adding JSONPath document highlights.
getQueryForTreeReturns a JSONPath query associated with the given Lezer tree.
getResultReturns the JSONPath query result.
jsonpathCodeMirror JSONPath (RFC 9535) language support.
lintSourceCodeMirror lint source for JSONPath.
lintSourceNeedsRefreshCodeMirror lint source needsRefresh for lintSource.
signatureHelpCodeMirror extension adding JSONPath signature help.
tooltipCodeMirror extension adding JSONPath hover tooltips.