You can get detailed output using ctest -V command. To run tests after finished build please run make test or ctest from your build tree. The generated documentation will be available in doc/html directory of the build tree. On successful build you will find compiled test and example binaries in bin directory. On Linux, run make from the build directory. On Windows, build the solution found in the build directory.Windows users can do the same with cmake-gui application. Change to build directory and run cmake.Create directory called build in rapidjson source directory.Execute git submodule update -init to get the files of thirdparty submodules (google test).To generate user documentation and run tests please proceed with the steps below: (optional) googletest for unit and performance testing.(optional) Doxygen to build documentation.RapidJSON uses following software as its dependencies: Just copy the include/rapidjson folder to system or project's include path.Īlternatively, if you are using the vcpkg dependency manager you can download and install rapidjson with CMake integration in a single command: Users can build and run the unit tests on their platform/compiler. Clang 3.4 on Mac OS X (32/64-bit) and iOS.Some platform/compiler combinations which have been tested are shown as follows. Reduce memory overhead of each Value from 24 bytes to 16 bytes in x86-64 architecture.įor other changes please refer to change log.Iterating array/object with C++11 Range-based for loop.Added relaxed JSON syntax (comment, trailing comma, NaN/Infinity). Standard ECMA-404: The JSON Data Interchange Format.RFC7159: The JavaScript Object Notation (JSON) Data Interchange Format.More information about JSON can be obtained at RapidJSON should be in full compliance with RFC7159/ECMA-404, with optional support of relaxed syntax. JSON(JavaScript Object Notation) is a light-weight data exchange format. It also supports surrogates and "\u0000" (null character). For example, you can read a UTF-8 file and let RapidJSON transcode the JSON strings into UTF-16 in the DOM. It supports UTF-8, UTF-16, UTF-32 (LE & BE), and their detection, validation and transcoding internally. By default it uses a fast memory allocator, and the parser allocates memory compactly during parsing. Each JSON value occupies exactly 16 bytes for most 32/64-bit machines (excluding text string). It does not depend on external libraries such as BOOST. RapidJSON is self-contained and header-only.It also optionally supports SSE2/SSE4.2 for acceleration. Its performance can be comparable to strlen(). The SAX parser is only a half thousand lines of code. RapidJSON is a JSON parser and generator for C++.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |