represent value_null as an empty string e.g "" (text rendering logic)
This commit is contained in:
parent
85a6ef9a15
commit
7712f253c9
1 changed files with 2 additions and 2 deletions
|
@ -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("");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue