From 7712f253c956c8cedd5ac400d257b342f934dfe2 Mon Sep 17 00:00:00 2001 From: artemp Date: Wed, 20 Jul 2016 12:39:55 +0200 Subject: [PATCH] represent value_null as an empty string e.g "" (text rendering logic) --- src/value.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/value.cpp b/src/value.cpp index 7c6aca2be..b5ad606c7 100644 --- a/src/value.cpp +++ b/src/value.cpp @@ -673,7 +673,7 @@ struct convert std::string operator()(value_null const&) const { - return std::string("null"); + return std::string(""); } }; @@ -708,7 +708,7 @@ struct to_unicode_impl value_unicode_string operator()(value_null const&) const { - return value_unicode_string("null"); + return value_unicode_string(""); } };