this image contains code from https://gitlab1.ptb.de/digitaldynamicmeasurement/dcc_XMLJSONConvGUI
247
This is a simple GUI for converting XML to JSON DCC and vice versa and vice versa. It uses the xmltodict and json libraries to convert the files.
The Gui looks like This:

Edit XML or JSON in the Text Areas / Tree Views and click the Convert button to convert the data to the other format. To Download the converted file click the Download button.
There are two ways to install/deploy the application:
To use the docker container, you need to have docker installed on your machine. If you don't have docker installed, you can download it from here. Once you have docker installed, you can run the following commands to pull the repository and biuld docker image and run the container:
docker pull benesee/dccxmljsonconvgui:latest
docker run --name dcc-xmljsonconv-gui -d dcc-xmljsonconv-gui
To access the application, open your browser and go to http://localhost:5008/dccxmljsonconvgui/
The DCC XMLJSONConverter REST APi is also available at http://localhost:8000/
To run the application locally, you need to have python installed on your machine. If you don't have python installed, you can download it from here. Once you have python installed, you can run the following commands to download the package install all dependencies and run the application:
git clone https://gitlab1.ptb.de/digitaldynamicmeasurement/dcc_XMLJSONConvGUI.git
cd dcc_XMLJSONConvGUI
pip install -r requirements.txt
chmod +x ./start_server.sh
./start_server.sh
To access the application, open your browser and go to http://localhost:5008/dccxmljsonconvgui/
The DCC XMLJSONConverter REST Api is also available at http://localhost:8000/
Content type
Image
Digest
sha256:b4356071e…
Size
567.3 MB
Last updated
over 1 year ago
docker pull benesee/dccxmljsonconvgui