mirror of
https://github.com/nlohmann/json.git
synced 2026-10-07 23:17:14 +00:00
more unit tests
This commit is contained in:
1 parent
29a8d43d5a
commit
4cd341d4db
2 files changed
+53
-2
No files matched your search
+6
-2
@@ -1315,24 +1315,28 @@ class basic_json
|
||||
{
|
||||
return "null";
|
||||
}
|
||||
|
||||
case (value_t::object):
|
||||
{
|
||||
return "object";
|
||||
}
|
||||
|
||||
case (value_t::array):
|
||||
{
|
||||
return "array";
|
||||
}
|
||||
|
||||
case (value_t::string):
|
||||
{
|
||||
return "string";
|
||||
}
|
||||
|
||||
case (value_t::boolean):
|
||||
{
|
||||
return "boolean";
|
||||
}
|
||||
case (value_t::number_integer):
|
||||
case (value_t::number_float):
|
||||
|
||||
default:
|
||||
{
|
||||
return "number";
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user