#1 2023-04-25 18:27:05

tbo
Member
Registered: 2015-04-20
Posts: 328

Small mORMot articles with outside view

This thread continues the series "A small example in response to a question". The articles were published in German in the Delphi Praxis Forum. Included in the article announcement is a link for translation into English using Google Translator. The result is not perfect, also some formatting is destroyed, but it is readable.

If you liked an article, you can leave a comment in the Delphi-Praxis Forum. It is a friendly forum and comments in English language are possible. If you write a comment, please do not follow each other too quickly, so that the article is well placed in the activities view for a long time.

With best regards
Thomas

Offline

#2 2023-04-25 18:31:30

tbo
Member
Registered: 2015-04-20
Posts: 328

Re: Small mORMot articles with outside view

I have published my seventh article with the topic mORMot here (forum Delphi-PRAXIS). The title is: Realize a JSON-Viewer with DocVariant and Virtual TreeView. The text is written in German, the sourcecode uses english names. Sourcecode and program can be found in the appendix.

The program is a simple JSON-Viewer. With the example code you get:

  • A document can be loaded from a file or imported via the clipboard. It can be saved again in packed format as a file.

  • Individual branches of a document can be saved as a file or exported to the clipboard as an object with extension root node as an attribute.

  • Each branch can be displayed in a separate view window and closed by double-clicking on the tab. In multiple view the delete function is locked.

  • A simple editor to edit values of attributes or to delete entries or whole branches.

Here is the translation into English with Google Translator. The result is not perfect (rather not so good), also some formatting is destroyed, but it is readable.

With best regards
Thomas

Offline

Board footer

Powered by FluxBB