forked from bblanchon/ArduinoJson
Added key() and value() shortcuts
This commit is contained in:
1 parent
0449ee4fd3
commit
5129f3400c
1 file changed
+12
@@ -41,6 +41,18 @@ namespace ArduinoJson
|
||||
{
|
||||
return JsonToken::operator!=(other);
|
||||
}
|
||||
|
||||
// Get the key of the JsonPair pointed by the iterator
|
||||
const char* key() const
|
||||
{
|
||||
return operator*().key();
|
||||
}
|
||||
|
||||
// Get the key of the JsonPair pointed by the iterator
|
||||
JsonValue value() const
|
||||
{
|
||||
return operator*().value();
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user