Skip to content

Commit

Permalink
docs: rename jsonquery to JSONQuery
Browse files Browse the repository at this point in the history
  • Loading branch information
josdejong committed Sep 25, 2024
1 parent 1c29c78 commit 23b1d58
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/lib/plugins/query/jsonQueryLanguage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import type { JSONPath } from 'immutable-json-patch'
const description = `
<p>
Enter a <a href="https://jsonquerylang.org" target="_blank"
rel="noopener noreferrer">jsonquery</a> function to filter, sort, or transform the data.
rel="noopener noreferrer">JSON Query</a> function to filter, sort, or transform the data.
You can use functions like <code>get</code>, <code>filter</code>,
<code>sort</code>, <code>pick</code>, <code>groupBy</code>, <code>uniq</code>, etcetera.
Example query: <code>filter(.age >= 18)</code>
Expand All @@ -15,7 +15,7 @@ const description = `

export const jsonQueryLanguage: QueryLanguage = {
id: 'jsonquery',
name: 'jsonquery',
name: 'JSONQuery',
description,
createQuery,
executeQuery
Expand Down
6 changes: 3 additions & 3 deletions src/routes/development/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -277,10 +277,10 @@
$: queryLanguages = $multipleQueryLanguages
? [
jsonQueryLanguage,
javascriptQueryLanguage,
jmespathQueryLanguage,
jsonpathQueryLanguage,
lodashQueryLanguage,
jmespathQueryLanguage
javascriptQueryLanguage,
lodashQueryLanguage
]
: [jsonQueryLanguage]
let queryLanguageId = jsonQueryLanguage.id // TODO: store in local storage
Expand Down

0 comments on commit 23b1d58

Please sign in to comment.