POCO
RapidJSON
POCO | RapidJSON | |
---|---|---|
14 | 15 | |
7,910 | 13,881 | |
1.0% | 0.6% | |
9.6 | 5.9 | |
5 days ago | 9 days ago | |
C++ | C++ | |
THE BOOST SOFTWARE LICENSE 1.0 | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
POCO
- What are some C++ projects with high quality code that I can read through?
-
What is the best option to do networking in c++?
You can also look into Poco https://pocoproject.org/
-
Is C/C++ good for the backend? If so, is there anything like Fastapi in C/C++?
I can't say enough good stuff about POCO for this type of work - when I first got my teams using it we used to joke that POCO was what Boost wants to be when it grows up. And nlohmann/json - cracking library for working with JSON in C++.
-
HTTP LISTENER C++
We use https://github.com/pocoproject/poco in most projects, very easy to set up a http listener
-
Who is using C++ for web development?
Did someone used Poco's Net Library to create a Rest Api? Poco Project
-
Do someone use CLion under Windows with good performance?
But CLion is so slow. Tested with Poco C++ standard build (https://pocoproject.org/). Moving around with Go To Definition takes sometimes up to 20 seconds if file is first touched. Using 'back' and 'forward' delays for 1-2 seconds.
-
Why am I not able to make https get requests using Poco::Net?
Yes, you need NetSSL - take a look at find_package(Poco REQUIRED COMPONENTS ... NetSSL) requires an aditional find_package(OpenSSL) since poco-10.
-
Can you recommend a good C++ open source project?
poco (portable components) https://pocoproject.org/
- CMake + Poco + FetchContent build options problem
-
The Curse of NixOS
Many of the necessary fixes do end up getting pushed upstream, though, thinking especially of stuff like converting CMake projects to use the GNUInstallDirs standard, so there is a benefit to the strictness work that extends beyond even just the Nix community itself.
Of course, sometimes those kinds of changes just never get merged, for a variety of well-understood open-sourcey reasons, eg: https://github.com/pocoproject/poco/pull/3105
RapidJSON
-
Has anyone embedded a web-UI into a C++ project?
Here's what I did: - I bought a theme that I liked, and used mstch as template engine (matched the theme's template format) - Imported rapidjson for parsing JSON, and used mstch for generating JSON (the JSON I generate is simple enough that I can do this) - Wrote an HTTP handler class for each page that handles the GET and POST requests, generating HTML or JSON depending on the request
-
Is there a good cross-platform (Windows / Linux) C or C++ library for file I/O?
And documentation in most cases is more user-friendly if you will use something like MkDocs(based on Markdown), example http://rapidjson.org/
- What is the best way to store multiple objects of a class as data in C++?
-
How to deserialise json into a C++ struct?
Use RapidJSON https://rapidjson.org/
-
DAW JSON Link v3, a JSON serialization/deserialization library, is released
It seems not super widely used compared to other famous libraries like RapidJSON, nlohmann-json, or simdjson. But it seems the author is very active in developing this project which can mitigate this "lack of community" issue.
-
Is cpp a good language for reading and writing large quantities of JSON files as quickly as possible?
have a look at rapidjson for a a nice simple json framework https://rapidjson.org/ I use it and it's quite fast and as good as anything I used in python.
-
What JSON library do you suggest?
So I just cloned https://github.com/Tencent/rapidjson to see what is the current status. At compile time they check if the C++ compiler supports the "noexcept" keyword, and if so they define RAPIDJSON_NOEXCEPT to be "noexcept". Throughout the implementation, RAPIDJSON_NOEXCEPT is added to quite a few function declarations (about a hundred of them).
- Storing data to be used in simulations.
-
How and where I can learn about Web sockets, APIs, Wrappers to connect with my C++ code?
RapidJSON is also excellent, like fantastic when performance matters. Not sure there's a much faster JSON implementation anywhere, and I've written my own SAX-style parser as a fun, hobby project for C++.
- Can anyone point me to an open-source project that correctly uses allocators?
What are some alternatives?
Boost.Beast - HTTP and WebSocket built on Boost.Asio in C++11
JsonCpp - A C++ library for interacting with JSON.
C++ REST SDK - The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.
json - JSON for Modern C++
libcurl - A command line tool and library for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET, TFTP, WS and WSS. libcurl offers a myriad of powerful features
simdjson - Parsing gigabytes of JSON per second : used by Facebook/Meta Velox, the Node.js runtime, ClickHouse, WatermelonDB, Apache Doris, Milvus, StarRocks
Simple-WebSocket-Server
cJSON - Ultralightweight JSON parser in ANSI C
Boost.Asio - Asio C++ Library
Boost.PropertyTree - Boost.org property_tree module
WebSocket++ - C++ websocket client/server library
Jansson - C library for encoding, decoding and manipulating JSON data