RAD Studio 10.4.1 is now available! Learn more. 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

Deep Dive Webinar: Boost C++Builder Compile Speed with TwineCompile
Related posts
C++RAD Studio

Learn How To Use Return Type Deduction In C++ For Windows Apps

C++RAD Studio

Achieve High Performance By Using The string_view C++17 Feature In C++Builder

C++CodeDelphi

Learn To Build A Python GUI For Working With The Numpy Library In A Delphi Windows App

C++DelphiRAD Studio

Speed Up FireMonkey Layout Construction And Painting Performance With These Tips

Leave a Reply

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

IN THE ARTICLES