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.

 

 

 


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

Related posts
C++Delphi

Easily Deploy RAD Server With Windows And Linux Installers

C++Delphi

Use Real PNG Files In Your Delphi C++ Builder Applications

C++DelphiRAD Studio

Easy Serialization From Query To JSON

C++RAD Studio

LearnCPlusPlus.org :: Learn FireDAC, MyDAC Components And MySQL, PostgreSQL, InterBase Databases, And Much More

Leave a Reply

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

IN THE ARTICLES