Added operator[]

This commit is contained in:
Benoit Blanchon
2014-07-31 20:11:55 +02:00
parent 13c386c7a3
commit 60c6f2db47
3 changed files with 8 additions and 9 deletions

View File

@ -36,7 +36,7 @@ size_t JsonObjectBase::printTo(Print& p) const
return n;
}
JsonValue& JsonObjectBase::getValue(char const* key)
JsonValue& JsonObjectBase::operator[](char const* key)
{
for (int i = 0; i < count; ++i)
{