diff --git a/include/valijson/adapters/rapidjson_adapter.hpp b/include/valijson/adapters/rapidjson_adapter.hpp index 4eb21f4..f57a3b5 100644 --- a/include/valijson/adapters/rapidjson_adapter.hpp +++ b/include/valijson/adapters/rapidjson_adapter.hpp @@ -219,6 +219,11 @@ class RapidJsonFrozenValue: public FrozenValue { public: + RapidJsonFrozenValue(const char *str) + { + value.SetString(str, allocator); + } + RapidJsonFrozenValue(const std::string &str) { value.SetString(str.c_str(), (unsigned int)str.length(), allocator);