Skip to content
Snippets Groups Projects
Commit b8b5c4fe authored by Bruno Nocera Zanette's avatar Bruno Nocera Zanette
Browse files

Modify Support functions into a Class definition


This commit modifies the support functions for each version (xml and json)
into a class definition. This change was made to simplify the code.
For example, there is no need to pass the database and output file
as arguments anymore.

Also, it was implemented a function to update the indentation every time a
tag is opened or closed, so that there is no need to specify the indentation
every time a write tag functions is called.

Signed-off-by: default avatarBruno Nocera Zanette <brunonzanette@gmail.com>
parent 1422ec36
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment