mirror of
https://github.com/nlohmann/json.git
synced 2026-04-14 03:58:55 +00:00
more test cases
This commit is contained in:
@@ -519,13 +519,13 @@ class basic_json
|
||||
}
|
||||
}
|
||||
|
||||
/// return the type of the object explicitly
|
||||
/// return the type of the object (explicit)
|
||||
inline value_t type() const noexcept
|
||||
{
|
||||
return m_type;
|
||||
}
|
||||
|
||||
/// return the type of the object implicitly
|
||||
/// return the type of the object (implicit)
|
||||
operator value_t() const noexcept
|
||||
{
|
||||
return m_type;
|
||||
|
||||
@@ -519,13 +519,13 @@ class basic_json
|
||||
}
|
||||
}
|
||||
|
||||
/// return the type of the object explicitly
|
||||
/// return the type of the object (explicit)
|
||||
inline value_t type() const noexcept
|
||||
{
|
||||
return m_type;
|
||||
}
|
||||
|
||||
/// return the type of the object implicitly
|
||||
/// return the type of the object (implicit)
|
||||
operator value_t() const noexcept
|
||||
{
|
||||
return m_type;
|
||||
|
||||
Reference in New Issue
Block a user