diff --git a/locales/en.yml b/locales/en.yml index 7a0a25f9..1a869a3a 100644 --- a/locales/en.yml +++ b/locales/en.yml @@ -6108,3 +6108,9 @@ tools: title-your-second-yaml-content: 'Your second YAML Content:' title-merged-yaml: 'Merged YAML:' placeholder-your-merged-yaml-will-be-here: Your merged YAML will be here + json-to-data: + texts: + title-json-converter: JSON Converter + title-drag-and-drop-a-json-file-here-or-click-to-select-a-file: Drag and drop a JSON file here, or click to select a file + label-paste-your-json-content: Paste your JSON content + placeholder-your-json: Your JSON diff --git a/src/tools/json-to-data/index.ts b/src/tools/json-to-data/index.ts new file mode 100644 index 00000000..42bc321e --- /dev/null +++ b/src/tools/json-to-data/index.ts @@ -0,0 +1,13 @@ +import { Braces } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'JSON to Data', + path: '/json-to-data', + description: 'Convert JSON to CSV, SQL Insert, YAML, Markdown, XML and XLSX', + keywords: ['json', 'excel', 'csv', 'xlsx', 'sql', 'yaml', 'insert', 'markdown', 'md', 'tsv', 'xml'], + component: () => import('./json-to-data.vue'), + icon: Braces, + createdAt: new Date('2025-08-15'), + category: 'JSON', +}); diff --git a/src/tools/json-to-data/json-to-data.vue b/src/tools/json-to-data/json-to-data.vue new file mode 100644 index 00000000..d1cee67f --- /dev/null +++ b/src/tools/json-to-data/json-to-data.vue @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ t('tools.csv-to-data.texts.tag-convert') }} + + + + + {{ error }} + + + + + + +