Output: JSON File
Scripting language: Python
The aim is to generate a JSON file from the xml file. For this purpose, the law text („VAT law“ or „Umsatzsteuergesetz“ in german) must be broken down into the smallest elements with the aim of filling a graph database in which the law and each section are reassembled.
The following files are attached for this purpose:
- the XML file
- a manually created JSON file as an example
- A PDF-File, where Section 1 is graphically marked so that you can see what the smallest element is in each case
Please note that not every section has the same structure.
The smallest element is usually a sentence.
If a number has only one sentence, it is the number.
If a paragraph has only one sentence, it is the paragraph.
If a letter has only one sentence, it is the letter.
If a section itself has only one sentence, it is the section.
The graph is then built with Gremlin (Apache TinkerPop) and Azure Cosmos DB.
I hope someone can help me with this problem.
28 freelancers are bidding on average $455 for this job
Hi, I have a lot of experience with both XML and json. Also, I am a teacher of programming languages courses in a university, and I have great experience with parsing different types of languages
Hi there, If you are open to C++ as the programming language I could create a Windows desktop application to convert your XML to JSOn files? Let me know please. thanks Dinesh
Hi, I can write a python script to parse XML into JSON. I think you forgot to attach the files. Let's have chat to discuss further on this project. Thanks, Sayan
Greetings, I have read your requirement and can help you generate json with all the requirements you have listed. I have 3 years of experience in python ping me for further discussion regarding same.