Use of Rapidjson

Source: Internet
Author: User

About Rapidjson


Rapidjson Project Address: Https://github.com/miloyip/rapidjson


When the project download is complete, open the Readme.md file to view the project description.

RapidJSON is a header-only C + + library. Just copy the ' Include/rapidjson ' folder to System or project ' include path.

Rapidjson is a C + + JSON library with only a header file, and you only need to copy the "Include/rapidjson" directory to the Project inclusion path.


Document Description Address: ttp://miloyip.github.io/rapidjson/


Construction of the project


The Rapidjson project needs to be built using a tool, which is premake.

Premake is a cross-platform project building tool.

Premake:http://industriousone.com/premake/download


Project Build Process:

Premake Download finished, extract the Premake4.exe file into the build directory, click Premake.bat (Windows), if it is Linux/mac click premake.sh, build the project.


Here is the project build under the Windows platform, vs2005, vs2008, vs2010 are different versions of the Visual Studio project, and after opening the solution, you can see some examples of the use of Rapidjson libraries.



Use of Rapidjson


1. Copy the Include\rapidjson folder to the project path.

2. Introduction of the Rapidjson Library header file

Use of 3.rapidjson


Test Project Address: Https://coding.net/u/linchaolong/p/RapidJSONTest/git

Click to download the source code


Use of Rapidjson

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.