diff --git a/include/msgpack/v1/object.hpp b/include/msgpack/v1/object.hpp index 07b5bcb46..577217720 100644 --- a/include/msgpack/v1/object.hpp +++ b/include/msgpack/v1/object.hpp @@ -734,7 +734,7 @@ inline std::ostream& operator<< (std::ostream& s, const msgpack::object& o) { switch(o.type) { case msgpack::type::NIL: - s << "nil"; + s << "null"; break; case msgpack::type::BOOLEAN: