• Join/Login
  • Business Software
  • Open Source Software
  • For Vendors
  • Blog
  • About
  • More
    • Articles
    • Create
    • SourceForge Podcast
    • Site Documentation
    • Subscribe to our Newsletter
    • Support Request
SourceForge logo
For Vendors Help Create Join Login
SourceForge logo
Business Software
Open Source Software
SourceForge Podcast
Resources
  • Articles
  • Case Studies
  • Blog
Menu
  • Help
  • Create
  • Join
  • Login
  • Home
  • Open Source Software
  • Formats and Protocols
  • Data Formats
  • json-cpp

json-cpp

C++ JSON parser (Now in GitHub)

Status: Beta
Brought to you by: aaronjacobs, blep, christopherdunn
53 Reviews
Downloads: 185 This Week
Last Update: 2015-03-02
Download
Share This
Email in envelope

Get an email when there's a new version of json-cpp

Next
Linux Windows Mac BSD ChromeOS
Leader badge
  • Summary
  • Files
  • Reviews
  • Support
  • Wiki
  • Mailing Lists
  • Tickets ▾
    • Bugs
    • Patches
    • Feature Requests
  • News
  • Discussion
  • Code
Leader badge

THIS PROJECT HAS MOVED TO GITHUB.

jsoncpp is an implementation of a JSON (http://json.org) reader and writer in C++. JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate.

New homepage:
https://github.com/open-source-parsers/jsoncpp
Old homepage:
http://jsoncpp.sourceforge.net

Project Activity

See All Activity >

{{ this.obj.activity_extras.summary }}
{{/each}}

Categories

Data Formats

License

MIT License, Public Domain

Follow json-cpp

json-cpp Web Site

Other Useful Business Software
The CI/CD Platform built for Mobile DevOps Icon
The CI/CD Platform built for Mobile DevOps

For mobile app developers interested in a powerful CI/CD platform for mobile app development and mobile DevOps

Save time, money, and developer frustration with fast, flexible, and scalable mobile CI/CD that just works. Whether you swear by native or would rather go cross-platform, we have you covered. From Swift to Objective-C, Java to Kotlin, as well as Xamarin, Cordova, Ionic, React Native, and Flutter: Whatever you choose, we will automatically configure your initial workflows and have you building in minutes.
Learn More
Rate This Project
Login To Rate This Project

User Ratings

4.4 out of 5 stars
★★★★★
★★★★
★★★
★★
★
43
1
2
0
7
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 3 / 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

User Reviews

Filter Reviews:
All
  • All
  • ★★★★★
  • ★★★★
  • ★★★
  • ★★
  • ★
  • jeromeottowonde Posted 2017-12-24
    Robust, small and standard de facto implementation of JSON parser in C++. We use it in educational purposes to study students.
  • davidoakley Posted 2014-11-17
    We have been using Json-cpp for quite a number of years in our mobile games, where it has provided solid, reliable, cross-platform parsing with a very small footprint.
  • mwjx Posted 2014-11-07
    hello author, I find a bug. when i use reader prase a num string,expleme "49", it is crash type_ is int type,but value_.map_ is not createed
  • yaopeijiang Posted 2014-07-27
    hello author, I find two bug. 1.if json more than twenty value,Could lead to a loss of "[" and "{". example: Json::Value root; Json::FastWriter writer; while(bContinue) { hModule = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE, PInfo.th32ProcessID); Module32First(hModule, &MInfo); CloseHandle(hModule); hProcess = OpenProcess(PROCESS_QUERY_INFORMATION,FALSE,PInfo.th32ProcessID); char cFull[1024] = {0}; int iLen = pGetProcessImageFileNameA(hProcess,cFull,1024); Json::Value sysinfo; sysinfo["dwPid"] = (int)PInfo.th32ProcessID; sysinfo["FileName"] = PInfo.szExeFile; sysinfo["FilePath"] = DosDevicePath2LogicalPath(cFull); sysinfo["dwThreads"] = (int)PInfo.cntThreads; sysinfo["dwPriClass"] = (int)GetPriorityClass(hProcess); root.append(sysinfo); bContinue = Process32Next(hSnapshot, &PInfo); } jsondata = writer.write(root); FILE *fp; fp = fopen("aa.txt", "w"); if(fp ==NULL) printf("fails\n"); fprintf(fp, jsondata.c_str()); 2.value["key"] funtion lost aslong(),if value is FileSize. If updated, please notice 674268015@qq.com,Thank you very much.
  • fuzhufang Posted 2014-06-10
    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 ?
Read more reviews >

Additional Project Details

Operating Systems

BSD, Linux, Windows

Intended Audience

Developers

Programming Language

C++

Related Categories

C++ Data Formats Software

Registered

2005-07-23
Report inappropriate content
The CI/CD Platform built for Mobile DevOps Icon
The CI/CD Platform built for Mobile DevOps

For mobile app developers interested in a powerful CI/CD platform for mobile app development and mobile DevOps

Save time, money, and developer frustration with fast, flexible, and scalable mobile CI/CD that just works. Whether you swear by native or would rather go cross-platform, we have you covered. From Swift to Objective-C, Java to Kotlin, as well as Xamarin, Cordova, Ionic, React Native, and Flutter: Whatever you choose, we will automatically configure your initial workflows and have you building in minutes.
Learn More
Recommended Projects
  • JSON-java
    JSON-java
    A reference implementation of a JSON package in Java
  • M's JSON parser
    A JSON parser written in ISO C
  • Premake
    Premake
    On GitHub now!
  • JSON Parser
    JSON Parser
    JSON Parser written in C that outputs JSON into D-List list objects
  • JavaScript Object Notation
    The JavaScript Object Notation (JSON) is a simple and lightweight data interchange format. This project provides libraries for manipulating JSON objects for various languages. For more information on JSON, visit http://www.json.org/
Top Searches
  • jsoncpp-src-0.5.0
  • jsoncpp-1.9.4-windows-x64
  • jsoncpp
SourceForge
  • Create a Project
  • Open Source Software
  • Business Software
  • Top Downloaded Projects
Company
  • About
  • Team
  • SourceForge Headquarters
    1320 Columbia Street Suite 310
    San Diego, CA 92101
    +1 (858) 422-6466
Resources
  • Support
  • Site Documentation
  • Site Status
  • SourceForge Reviews
SourceForge logo
© 2026 Slashdot Media. All Rights Reserved.
Terms Privacy Privacy Choices Advertise
Auth0 Logo