Principles of creation of visual editor of XML and JSON formats

2022;
: pp. 91 - 97
1
Lviv Polytechnic National University, Computer Engineering Department
2
Lviv Polytechnic National University

This article considers the peculiarities of the perception of large amounts of textual information, and analyzes the needs for visual editing. The implementation of a software product that works with XML and JSON formats and provides graphical and color highlighting of the main elements of the syntax.

The structure of the program was developed and divided into several modules: file reading, content analysis and display. The general algorithm of work of the program is designed. The functionality for opening the file and its further analysis in the program has been created. Visualization of the read and analyzed file is presented.

The aim of the article is to display the results of research on the problem of data visualization in information processing by users, as well as highlight the results of software implementation, which provides editing, creating, saving XML and JSON files and supports color and graphical separation of program text elements. At the same time, up to 7 simultaneously open files with the number of lines in the file – up to 1000 are guaranteed.

  1. Duncan J. (1984). Selective attention and the organization of visual information. Journal of Experimental Psychology: General, 113(4), 501–517. DOI: 10.1037/0096-3445.113.4.501 G. Wiesen. Visual Editing (Accessed: 14 September 2022).
  2. O'Brien C. (2018). Toss Out Goodbye clutter and useless paper – welcome to the digital workplace. / Ciara O'Brien // The Irish Times. URL:  (accessed: 15 September 2022).
  3. Mudrenko S. Data Visualization. URL: https://mind.ua/openmind/20230899-infografika-dlya-biznesu-yak- vizualizaciya-danih-vplivae-na-prijnyattya-rishen (accessed: 14 September 2022).
  4. Wang G. (2011). "Improving Data Transmission in Web Applications via the Translation between XML and JSON", Third International Conference on Communications and Mobile Computing, 2011. Pp. 182–185. DOI: 10.1109/CMC.2011.25 (accessed: 15 September 2022).
  5. Abd El-Aziz A. A. and Kannan A. (2014). "JSON encryption", 2014 International Conference on Computer Communication and Informatics. Pp. 1–6. DOI: 10.1109/ICCCI.2014.6921719 (accessed: 15 September 2022).
  6. "IEEE Standard for Learning Technology-Extensible Markup Language (XML) Schema Definition Language Binding for Learning Object Metadata", in IEEE Std 1484.12.3-2020 (Revision of IEEE Std 1484.12.3- 2005).Pp. 1–58, 7 April 2020. DOI: 10.1109/IEEESTD.2020.9059045 (accessed: 20 September 2022).
  7. Sukumar P. (2020). How to parse JSON in C++. / Paul Sukumar // LinuxHint. URL: https://linuxhint.com/parse-json-data-cpp/(accessed: 14 September 2022).