diff --git a/JsonParser/JsonValue.cpp b/JsonParser/JsonValue.cpp index 0b3526d4..8b76c2cf 100644 --- a/JsonParser/JsonValue.cpp +++ b/JsonParser/JsonValue.cpp @@ -52,14 +52,4 @@ JsonValue::operator long() JsonValue::operator char*() { return isString() || isPrimitive() ? getText() : 0; -} - -JsonValue::operator JsonArray() -{ - return *this; -} - -JsonValue::operator JsonObject() -{ - return *this; } \ No newline at end of file diff --git a/JsonParser/JsonValue.h b/JsonParser/JsonValue.h index 84ab4a61..1864b425 100644 --- a/JsonParser/JsonValue.h +++ b/JsonParser/JsonValue.h @@ -48,8 +48,6 @@ namespace ArduinoJson operator double(); operator long(); operator char*(); - operator JsonArray(); - operator JsonObject(); JsonValue operator[](int index); JsonValue operator[](const char*key); };