Method for automatically generating Json data from database data, readable medium and electronic equipment

The invention relates to a method for automatically generating Json data from database data, a readable medium and electronic equipment. The method comprises the following steps: presetting a first configuration file containing a hierarchical relationship between target related nodes and a second co...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: LI GUANGJUN, MO YUANWU, QIAN WENYING, ZHONG XIAOFENG
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention relates to a method for automatically generating Json data from database data, a readable medium and electronic equipment. The method comprises the following steps: presetting a first configuration file containing a hierarchical relationship between target related nodes and a second configuration file containing an recognition mapping relationship of the target related nodes based on target Json data required by a service; in response to the instruction for requesting the target Json data, generating a task list including obtaining the target Json data based on the first configuration file and the instruction; based on the task list and the second configuration file, generating an intermediate table containing query statements of query target Json data; querying and acquiring a data ID of the target Json data from a database based on the intermediate table; and based on the data ID, the first configuration file and the second configuration file, extracting data corresponding to the data ID from