mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-01 21:01:30 +02:00
Added as<JsonArray>()
as a synonym for as<JsonArray&>()
... (issue #291)
This commit is contained in:
@ -54,7 +54,7 @@ class JsonObjectSubscript : public JsonVariantBase<JsonObjectSubscript<TKey> > {
|
||||
}
|
||||
|
||||
template <typename TValue>
|
||||
FORCE_INLINE TValue as() const {
|
||||
FORCE_INLINE typename Internals::JsonVariantAs<TValue>::type as() const {
|
||||
return _object.get<TValue>(_key);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user