Could C++ API supports xml2json returning rapidjson::Document so users could use JSON object directly instead of JSON string?
rapidjson::Document xml2json(const char *xml_str)
and even with name/value type set to rapidjson::kStringType, so it's encoded directly instead of std::string.
Thanks!