Skip to content

Commit

Permalink
Add JSONPath tool
Browse files Browse the repository at this point in the history
  • Loading branch information
255kb committed Apr 4, 2024
1 parent 6299b50 commit 190c7df
Show file tree
Hide file tree
Showing 11 changed files with 775 additions and 146 deletions.
2 changes: 1 addition & 1 deletion content/docs/latest/templating/mockoon-helpers.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Custom helpers
title: Helpers
meta:
title: Create dynamic responses with templating helpers
description: "Create dynamic fake data for your mock server with Mockoon's templating helpers. All formats are supported: JSON, CSV, HTML, etc."
Expand Down
361 changes: 218 additions & 143 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@
"glob": "^10.3.10",
"gray-matter": "^4.0.3",
"js-yaml": "^4.1.0",
"jsonpath-plus": "^8.1.0",
"next": "^14.0.2",
"object-path": "^0.11.8",
"raw-loader": "^4.0.2",
"react": "^18.2.0",
"react-bootstrap": "^2.9.1",
Expand Down
2 changes: 1 addition & 1 deletion pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class MyDocument extends Document {
<Head>
<link
rel='preload'
href='/fonts/mockoon.woff?dqmqhc'
href='/fonts/mockoon.woff?exgtff'
as='font'
crossOrigin=''
/>
Expand Down
7 changes: 7 additions & 0 deletions pages/tools/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ const tools = [
'Convert your data from JSON to YAML and back and verify their validity',
links: [{ src: '/tools/json-to-yaml', text: 'Convert' }],
imageSrc: '/images/illustrations/json-to-yaml.svg'
},
{
title: 'JSONPath and object-path online evaluator',
description:
'Extract values from JSON data using JSONPath or object-path syntaxes',
links: [{ src: '/tools/json-object-path-evaluator', text: 'Extract data' }],
imageSrc: '/images/illustrations/json-path-evaluator.svg'
}
];

Expand Down
Loading

0 comments on commit 190c7df

Please sign in to comment.