mirror of
https://github.com/nlohmann/json.git
synced 2026-03-12 12:11:25 +00:00
+ removed data() function
This commit is contained in:
13
src/JSON.cc
13
src/JSON.cc
@@ -1224,19 +1224,6 @@ JSON::const_iterator JSON::find(const char* key) const
|
||||
}
|
||||
}
|
||||
|
||||
/*!
|
||||
@return the payload of the JSON object.
|
||||
*/
|
||||
JSON::value JSON::data() noexcept
|
||||
{
|
||||
return _value;
|
||||
}
|
||||
|
||||
const JSON::value JSON::data() const noexcept
|
||||
{
|
||||
return _value;
|
||||
}
|
||||
|
||||
bool JSON::operator==(const JSON& o) const noexcept
|
||||
{
|
||||
switch (_type)
|
||||
|
||||
Reference in New Issue
Block a user