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

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.





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

ImageList1 has an icon for displaying in TreeView1





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.




What's New for RAD Studio 11

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

This Week's Favorite Modern C++ Picks On LearnCPlusPlus.org


This Week's New C++ Post Picks From LearnCPlusPlus.org

DelphiDeveloper InterviewsInterviewNews

What Is It Like To Be A Developer Joe C. Hecht?

C++CodeRAD Studio

In C++ - Fantastic Ball Physics And Wonderful Wide Strings

Leave a Reply

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