Have an amazing solution built in RAD Studio? Let us know. Looking for discounts? Visit our Special Offers page!
C++

Visualize JSON using TTreeView

Author: h.mohri

I tried a program that reads a JSON file in C++Builder VCL and displays it in TTreeView component.

This project file is open to public from github.

github.com/mojeld 

https://www.microsoft.com/store/productid/9PLPHK05PJF7

 


 

Place two TSpeedButton, TTreeView, TMemo, TActivityIndicator, TOpenDialog, TImageList.

ImageList1 has an icon for displaying in TreeView1

  

 

 

[code]


Create an event to read a JSON file and an event to read a character string contained in the clipboard.

 

 

 

[Read JSON and add it to TreeView 1->Items]


Code to add from JSON string to ”TreeView 1->Items” using TJsonTextReader.

 

 

 

See What's New in 12.2 Athens See What's New in 12.2 Athens Dev Days of Summer 2-24

Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.
Start Free Trial   Upgrade Today

   Free Delphi Community Edition   Free C++Builder Community Edition

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

IN THE ARTICLES