diff --git a/include/valijson/adapters/yaml_cpp_adapter.hpp b/include/valijson/adapters/yaml_cpp_adapter.hpp index 362d471..9065fbc 100644 --- a/include/valijson/adapters/yaml_cpp_adapter.hpp +++ b/include/valijson/adapters/yaml_cpp_adapter.hpp @@ -433,7 +433,7 @@ class YamlCppValue bool isString() const { - return true; + return m_value.isScalar(); } private: