represent value_null as an empty string e.g "" (text rendering logic)

This commit is contained in:
artemp 2016-07-20 12:39:55 +02:00
parent 85a6ef9a15
commit 7712f253c9

View file

@ -673,7 +673,7 @@ struct convert<std::string>
std::string operator()(value_null const&) const 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 value_unicode_string operator()(value_null const&) const
{ {
return value_unicode_string("null"); return value_unicode_string("");
} }
}; };