Skip to content
A convenience C++ wrapper library for JSON-Glib providing friendly syntactic sugar for parsing JSON
C++ Shell
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


This library is a wrapper for the json-glib library that aims tp provide the user with a trivial alternative API to the API provided by the base json-glib library.

This is the first version of the json-me (JSON made easy) that I created as a weekend project.
It has the following issues that I might fix in a later release. Given that I don't have much time to
work on project like this and given that my priorities lie with different projects, you may consider
it as a wishlist that if you like this library would make me very happy if you could contribute it:

* Probably need to add a 'keys' method to AbstractNode so the user can find out what members a JSON 
  object has. A 'has_key(std::string keyy)' might be usefull to possibly. 
* There is probably a lot of stuff that I should have defined as const, didn't spent time 
  to check for that yet.
* I didn't find a list of the Gtype's that json-glib can produce, there are probably some pieces of 
  dead code in gobj/GobjectImplScalar.cpp and there might be one missing.
* I didn't write any unit tests. All I wrote was a litle tiny program for a basic API test. 
  Given the limited test coverage, there may still be some bugs in this library.
* The CMakeLists.txt doesn't look for its dependencies and just adds -I flags that happen to be right 
  on Ubuntu 11.4. Should do some real checking.
* I didn't create non of the operator<< stuff for making usage ostream usage easy. Tried to for half 
  an hour and kept getting useless messages from my compiler. Should make the library even more 
  friendly if we could fix this.

Seeing the above list, if you feel like fixing any of these problems, please feel free to do so and send  me your patches if you do.

To build jsonme, take the following steps:

 cd build

 cmake ..


 make test

 sudo make install
Something went wrong with that request. Please try again.