Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 437 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 437 Bytes

QJsonModel

QJsonModel is a json tree model class for Qt5/C++11 based on QAbstractItemModel. QJsonModel is under MIT License.

QJsonModel

Installation

Add qjsonmodel.cpp and qjsonmodel.h into your project.

Usage

QJsonModel * model = new QJsonModel;
QTreeView * view = new QTreeView;
view->setModel(model);
model->load("example.json")