the easiest way to manage JSON objects with Qt

Fork me on GitHub

JSON (JavaScript Object Notation) is a lightweight data-interchange format. It can represents integer, real number, string, an ordered sequence of value, and a collection of name/value pairs.

QJson is a Qt-based library that maps JSON data to QVariant objects and vice versa.

JSON arrays will be mapped to QVariantList instances, while JSON objects will be mapped to QVariantMap.

Checkout the usage page for more details.


Gnu/Linux should install QJson using a package manager; binary packages are available for all the major distributions.

OSX users can install QJson using mac ports or homebrew.

Checkout the build page if you want to build QJson from sources.


This library is licensed under the Lesser GNU General Public License version 2.1.

Some files are licensed under the GPLv2 with Bison exception which allows their distribution using a custom license (like LGPLv2).