JSONPath Tools / @jsonpath-tools/jsonpath / FormattingService
Class: FormattingService
Formats query text to be more readable and consistent.
Constructors
new FormattingService()
ts
new FormattingService(): FormattingService
Returns
FormattingService
Methods
provideFormattingEdits()
ts
provideFormattingEdits(query): TextChange[]
Provides text changes that can be used to format the given query text.
Parameters
query
Query.