时隔 15.6 个月,终于发布了一个新版本 v1.1.0. 新版本除了包含了这些日子收集到的无数的小改进及 bug fixes,也有一些新功能.本文尝试从使用者的角度,简单介绍一下这些功能和沿由. Photo by Ian Schneider JSON Pointer 也许 RapidJSON 一直最为人垢病的地方,是它奇怪的 API 设计.例如,对 DOM 加添数据要给于 allocator 参数: #include "rapidjson/document.h" using name
根据 RFC-7159: 8.1 Character Encoding JSON text SHALL be encoded in UTF-8, UTF-16, or UTF-32. The default encoding is UTF-8, and JSON texts that are encoded in UTF-8 are interoperable in the sense that they will be read successfully by the maximum numb