ProjectBeta

JSON - XML converter

Challenging
140 completions
~ 39 hours
3.5

Get to know both formats (JSON and XML), gain more experience with collections and figure out object-oriented programming once and for all.

Provided by

JetBrains Academy JetBrains Academy

About

JSON and XML are data formats that allow us to store data in a way that is readable by both a computer and a human. JSON and XML are common formats of storing data, and since both are used, it is sometimes necessary to convert one format into the other. In this project, you will write a converter like that, getting useful experience in working with websites in the meantime. Due to the level of difficulty, this project will suit advanced learners who are confident enough and want to challenge their programming skills. Check the prerequisites, take a deep breath, and let’s work!

Training project icon

Training project

This project allows you to practice and strengthen your coding skills, helping you get ready for more advanced tasks ahead.

What you'll learn

Once you choose a project, we'll provide you with a study plan that includes all the necessary topics from your course to get it built. Here’s what awaits you:
Start with getting familiar with the formats and enable your program to convert a single element.
Using regular expressions and applying advanced string processing, learn to work with XML attributes and properly convert them to JSON.
Work with various levels of nesting in XML and figure out how to parse it: you knowledge of recursion, classes and Java Collections will help.
Get a fuller understanding of OOP and become extra-confident with Collections while parsing JSON like a pro.
Expand the limits of your converter: allow back-and-forth format conversion.
Almost there: add more special features to your converter.

Reviews

Ivan Fedotov
3 years ago
I think this project should have some hints about classes and their structures.I spent days trying to fit everything in one place.It was like: - JSON parser is ready - XML is broken.- XML is working again - JSON is not. ...
Maurits Silvis avatar
Maurits Silvis
3 years ago
In this project, which is by far the most challenging project I've finished on this platform thus far, you have to roll your own JSON and XML serializers and deserializers. Unfortunately, the project does not encourage us (to learn) to use well-known third-party tools for serialization. But even if ...
Uladzislau Shoka
3 years ago
A very complex and exhausting project.Project for 1-2-3 parts of medium complexity.and 4 is even more difficult and not clearerand in point 5 everything is a dead end.

3.5

Learners who completed this project within the Java Desktop Application Developer course rated it as follows:
Usefulness
4.1
Fun
3.2
Clarity
3.2