Skip to content
agentzh's fork of QJson, the Qt C++ parsing library for JSON data
Find file
Latest commit 158db26 @agentzh minor fixes
Failed to load latest commit information.
doc added qjson
lib fixed syntax errors in json_scanner.cpp
tests added qjson
CMakeLists.txt added qjson
COPYING added qjson
INSTALL added qjson now we install headers for yqjson as well
README minor fixes


This is a fork of the QJson C++ Qt library by agentzh and xunxin.

This fork fixes the UTF-8 bugs and the not-so-natural build system
with qmake. And we'd expect it to eventually merge back to the mainstream in the near future :)


 $ qmake 'CONFIG-=debug' OUTPUT_DIR=/prefix/yqjson -r
 $ make
 $ make install

If you want to install to the system, specify
OUTPUT_DIR=/usr/local explicitly in the first step.

The default value of OUTPUT_DIR is the current build directory.

For RPM/Debian packaging, one can specify a "DESTDIR" while
installing, for instance,

 $ make install INSTALL_ROOT=/home/agentz/rpm/BUILDROOT/qjson

The main motivation for this library is our VdomBrowser mainly for
webpage information extraction based on VDOM:

Here comes the original README for the mainstream QJson:

QJson version 0.5.0
Date: April 3rd, 2009
Mailing List:

Project Lead/Maintainer (2008-current):
  Flavio Castelli <>

  For installation or compiling instructions, see the INSTALL file.

  This library is licensed under the Lesser GNU General Public License.  See
  the COPYING file for more information.

  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.
  JSON arrays will be mapped to QVariantList instances, while JSON's objects will be mapped to QVariantMap.

Happy hacking
Something went wrong with that request. Please try again.