Skip to content

JSONPath Tools / @jsonpath-tools/jsonpath-editor-react / JSONPathEditor

Function: JSONPathEditor() ​

ts
function JSONPathEditor(__namedParameters): Element;

JSONPath editor compliant with (RFC 9535).

Parameters ​

__namedParameters ​

onValueChange ​

(value) => void

Called when the query text changes.

queryArgument? ​

JSONValue = undefined

Query argument.

queryArgumentType? ​

DataType = ...

Query argument type.

queryOptions? ​

QueryOptions = defaultQueryOptions

Query options.

readOnly? ​

boolean = false

Whether the editor should be read-only.

style? ​

CSSProperties

Inline CSS style.

value ​

string

Query text.

Returns ​

Element