diff --git a/Frontend/src/router/index.ts b/Frontend/src/router/index.ts index f5cc531..3f9f65d 100644 --- a/Frontend/src/router/index.ts +++ b/Frontend/src/router/index.ts @@ -3,6 +3,7 @@ import { createRouter, createWebHistory } from 'vue-router' const landingPage = import("@views/LandingView.vue") const restMock = import("@views/RestMockView.vue") +const jsonFormatter = import("@views/JsonFormatterView.vue") const xmlFormatter = import("@views/XmlFormatterView.vue") const xsltTool = import("@views/XSLTView.vue") @@ -21,6 +22,11 @@ const routes = [ name: 'xmlFormatter', component: () => xmlFormatter }, + { + path: '/format/json', + name: 'jsonFormatter', + component: () => jsonFormatter + }, { path: '/xml/xpath', name: 'xpath', diff --git a/Frontend/src/views/JsonFormatterView.vue b/Frontend/src/views/JsonFormatterView.vue new file mode 100644 index 0000000..1483e5b --- /dev/null +++ b/Frontend/src/views/JsonFormatterView.vue @@ -0,0 +1,35 @@ + + + + + + JSON Formatter + + setTextFieldValue(data)"> + Clear + format(data)"> + + + + + \ No newline at end of file