forked from bblanchon/ArduinoJson
Added JsonVariant::success() (issue #279)
This commit is contained in:
1 parent
eab13dc565
commit
a3a2ca4796
3 files changed
+22
No files matched your search
@@ -256,6 +256,8 @@ class JsonVariant : public JsonVariantBase<JsonVariant> {
|
||||
return isObject();
|
||||
}
|
||||
|
||||
bool success() const { return _type != Internals::JSON_UNDEFINED; }
|
||||
|
||||
// Serialize the variant to a JsonWriter
|
||||
void writeTo(Internals::JsonWriter &writer) const;
|
||||
|
||||
|
||||
Reference in new issue
Block a user