C++ koda ģenerēšanas rīks statiskai JSON struktūru tipizēšanai, izmantojot JSON shēmas
Loading...
Date
Authors
Advisor
Journal Title
Journal ISSN
Volume Title
Publisher
Latvijas Universitāte
Language
lav
Abstract
Šajā kvalifikācijas darbā tika izstrādāts rīks C++ struktūru ģenerēšanai, kuras spēj apstrādāt un validēt JSON dokumentus, kas definēti ar JSON shēmām. Esošie rīki vai nu ievieš pārāk daudz atkarību, vai arī nepiedāvā pilnīgu resursu kartēšanu. Turpretim rīks ļauj ģenerēt C++ klases, kas atbilst JSON shēmai, spēj atrisināt shēmu atsauces un veic tādu pašu validāciju, kādu veiktu standartizēts JSON shēmu validētājs. Rīks tika izstrādāts pēc specifikācijas, tā kods veidots tā, lai to varētu paplašināt ar neobligātu specifikācijā norādītu funkcionalitāti.
This qualification work describes a tool that generates C++ structures that can process and validate JSON documents defined by JSON schemas. Existing tools either introduce too many dependencies or do not offer full resource mapping. This tool allows generating C++ classes that match the JSON schema, can resolve schema references, and perform the same validation as a JSON schema validator. The tool was developed according to the specification, and its code is designed to be extensible with the optional functionality from the specification.
This qualification work describes a tool that generates C++ structures that can process and validate JSON documents defined by JSON schemas. Existing tools either introduce too many dependencies or do not offer full resource mapping. This tool allows generating C++ classes that match the JSON schema, can resolve schema references, and perform the same validation as a JSON schema validator. The tool was developed according to the specification, and its code is designed to be extensible with the optional functionality from the specification.