beta

C++ JSON parser

User Ratings

★★★★★
★★★★
★★★
★★
58
1
1
0
8
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 2 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 3 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 3 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 2 / 5
Write a Review

User Reviews

  • fuzhufang
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    hello author, I find a expression that in json_reader.cpp 566 line. like this: bool badTokenType = ( token.type_ == tokenArraySeparator && token.type_ == tokenArrayEnd ); the boolean expression always return false. I think not '&&' but '||', do you thing so ?

    Posted 06/10/2014
  • abax0
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    Segfaults at __gnu_cxx::__exchange_and_add when trying to create and destroy a Reader object. Tried with both ubuntu repositories version and self-compiled version. Using gcc 4.8

    Posted 04/28/2014
  • prof-tournesol
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    Ca marche nickel , ça marche sous C++ Builder 6 : utilise les : - conteneur : tableau associatif (map), tableau dynamique (vector) de la STL C++ , - flux de chaînes : stringstream (STL C++) , - string (de la STL C++) . Très bien, y a tout ce qu'il fallait utiliser !! Pour info, je récupère les données de production d'une éolienne en JSON sous la forme : {"Items":[{"Power":"0 W"},{"DailyYield":"0 Wh"},{"TotalYield":"404,54 kWh"}]} {"Items":[{"Power":"0 W"},{"DailyYield":"22 Wh"},{"TotalYield":"576,16 kWh"}]} je décode en C++ Builder6 avec : AnsiString reponse ; // contient la donnée de production éolienne au format JSON JSONValue json ; string power, dailyYield, totalYield ; reponse[ reponse.Length() ] = 0 ; // supprime le '\0' de fin de chaîne de caractères json.decode( reponse.c_str() ) ; if( ! json.empty() ) { power = json["Items"] [0] ["Power"].asString() ; dailyYield = json["Items"] [1] ["DailyYield"].asString() ; totalYield = json["Items"] [2] ["TotalYield"].asString() ; } En javascript, pour décoder du JSON, j'utilise la librairie : json.js Merci beaucoup, ça m'a bien aidé , Did

    Posted 03/07/2014
  • mancode
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    Good one! Simple and fast.

    Posted 02/07/2014
  • lkwjeoifj
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    Documentation / setting up the project is a nightmare! Readmes are all outdated.

    Posted 02/01/2014
  • mackdiddy
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    We use JSON in our product absolutely everywhere. And some very complicated JSON as well. Using this library introduced heap corruption into our product. It was reproducible, but under very odd circumstances. Writing our own JSON reader magically made all of our heap corruption go away. Do not use this for anything commercial-grade. It would probably work OK for the most part for some utility projects or something simple.

    Posted 01/13/2014
  • dramele
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    Good library: it can store UTF-8 text without \uXXXX\uXXXX encoding, so .json file is easy to read in text editors. I don't know if this violates some standards, but it is good. Much easier in usage than boost::property_tree::json_read(). The boost can't save/load symbols > 127, it even can't read its own \uXXXX codes. I love root["name"]["name"] syntax of jsoncpp. Also i like that it is GPL-free, because GPL is a virus and not a true freedom. One thing i regret about: there is no long int type, so i have to use double :) Used it in my project: audigger (sourceforce)

    Posted 08/14/2013
  • rusik1978
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    Thanks for great project! Simply the best.Good,good,good.+1

    Posted 05/19/2013
  • sever78
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    very good project, thanks!Good,good,good.+1

    Posted 05/18/2013
  • urina
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    very good project, thanks!Good,good,good.+1

    Posted 05/17/2013
  • ivansusanincool
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    Very helpfull!

    Posted 05/14/2013
  • agoing2013
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    terrific program

    Posted 04/25/2013
  • chrismromero77
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    I love it!

    Posted 04/25/2013
  • steveaross2013
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    Wow that is an impressive

    Posted 04/25/2013
  • ignorherigstad
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    Thanks!

    Posted 04/25/2013
  • ableavoing1983
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    Really nice project! Thanks a lot!

    Posted 04/25/2013
  • kidneypain
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    UP for this project

    Posted 04/23/2013
  • alexvinn11
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    very good project, thanks!Good,good,good.+1

    Posted 04/15/2013
  • jimi78
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    very good project, thanks!

    Posted 04/09/2013
  • blaskrusik1978
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    very good project, thanks!

    Posted 04/05/2013
  • naser78
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    Makes handling json in c++ effortless. Good work.Nice project! You did a great job. Thank you!

    Posted 02/12/2013
  • dillonbutler
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    Simple. Useful. Light.

    Posted 02/11/2013
  • maxcook
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    jsoncpp is small and works nicely

    Posted 01/18/2013
  • a11922256
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    Good and useful software

    Posted 12/18/2012
  • nolanromero
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    Thanks jsoncpp

    Posted 12/15/2012
Show next 25 reviews