Tag: parsing
3 posts
-
C++ JSON Parsing: nlohmann/json, RapidJSON, and Custom Types
Parse REST APIs and config files in C++ safely: nlohmann/json vs RapidJSON, contains/value/at, to_json/from_json, parse_error and type_error.
-
Parsing HTTP Correctly in C++: Headers, Chunked Encoding and a Boost.Beast Parser
Parse HTTP in C++ without hand-rolled bugs: case-insensitive headers, Content-Length vs chunked bodies, keep-alive, body limits and a Boost.Beast parser.
-
C++20 Date Parsing and Formatting: chrono::parse, std::format, Time Zones and DST Pitfalls
Parse and format dates in C++20 chrono and std::format, plus the IANA tzdata, DST ambiguity, and locale pitfalls that break naive implementations.