mirror of
https://github.com/nlohmann/json.git
synced 2025-07-09 11:01:47 +03:00
more test cases
This commit is contained in:
@ -1463,11 +1463,6 @@ class basic_json
|
||||
|
||||
switch (m_type)
|
||||
{
|
||||
case (value_t::null):
|
||||
{
|
||||
return "null";
|
||||
}
|
||||
|
||||
case (value_t::object):
|
||||
{
|
||||
if (m_value.object->empty())
|
||||
@ -1558,6 +1553,11 @@ class basic_json
|
||||
{
|
||||
return std::to_string(m_value.number_float);
|
||||
}
|
||||
|
||||
default:
|
||||
{
|
||||
return "null";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user