Skip to content

Commit 17a49c1

Browse files
committed
Merge branch 'feat/xml-json' into chore/all-my-stuffs
# Conflicts: # components.d.ts # package.json # pnpm-lock.yaml # src/tools/index.ts # src/tools/json-to-xml/index.ts # src/tools/xml-to-json/index.ts
2 parents 11f1fd6 + 31e280c commit 17a49c1

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

pnpm-lock.yaml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/tools/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ import { tool as textToUnicodeNames } from './text-to-unicode-names';
102102
import { tool as torrentToMagnet } from './torrent-to-magnet';
103103
import { tool as ttlCalculator } from './ttl-calculator';
104104
import { tool as unicodeFormatter } from './unicode-formatter';
105+
import { tool as xmlToJson } from './xml-to-json';
106+
import { tool as jsonToXml } from './json-to-xml';
105107
import { tool as pdfSignatureChecker } from './pdf-signature-checker';
106108
import { tool as numeronymGenerator } from './numeronym-generator';
107109
import { tool as macAddressGenerator } from './mac-address-generator';
@@ -265,6 +267,8 @@ export const toolsByCategory: ToolCategory[] = [
265267
rmbNumbers,
266268
smartRawConverter,
267269
weekNumberConverter,
270+
xmlToJson,
271+
jsonToXml,
268272
],
269273
},
270274
{

src/tools/json-to-xml/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ import { Braces } from '@vicons/tabler';
22
import { defineTool } from '../tool';
33

44
export const tool = defineTool({
5-
name: 'JSON to XML',
5+
name: 'Json to XML',
66
path: '/json-to-xml',
77
description: 'Convert JSON to XML',
88
keywords: ['json', 'xml'],
99
component: () => import('./json-to-xml.vue'),
1010
icon: Braces,
11-
createdAt: new Date('2024-08-09'),
11+
createdAt: new Date('2024-06-30'),
1212
});

src/tools/xml-to-json/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ import { Braces } from '@vicons/tabler';
22
import { defineTool } from '../tool';
33

44
export const tool = defineTool({
5-
name: 'XML to JSON',
5+
name: 'XML to Json',
66
path: '/xml-to-json',
77
description: 'Convert XML to JSON',
88
keywords: ['xml', 'json'],
99
component: () => import('./xml-to-json.vue'),
1010
icon: Braces,
11-
createdAt: new Date('2024-08-09'),
11+
createdAt: new Date('2024-06-30'),
1212
});

0 commit comments

Comments
 (0)