summaryrefslogtreecommitdiff
path: root/src/value.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/value.cpp')
-rw-r--r--src/value.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/value.cpp b/src/value.cpp
index 5e6d9b0..ded6c4a 100644
--- a/src/value.cpp
+++ b/src/value.cpp
@@ -1006,6 +1006,17 @@ HashMember<std::string> Value::operator[](const char *key)
}
/**
+ * Custom output stream operator
+ * @param stream
+ * @param value
+ * @return ostream
+ */
+std::ostream &operator<<(std::ostream &stream, const Value &value)
+{
+ return stream << value.stringValue();
+}
+
+/**
* End of namespace
*/
}