mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-11-01 08:48:30 +01:00 
			
		
		
		
	ArduinoJson is now a header-only library (issue #199)
This commit is contained in:
		| @@ -77,6 +77,16 @@ inline std::ostream& operator<<(std::ostream& os, | ||||
| } | ||||
| #endif | ||||
|  | ||||
| inline JsonArraySubscript JsonArray::operator[](size_t index) { | ||||
|   return JsonArraySubscript(*this, index); | ||||
| } | ||||
|  | ||||
| template <typename TImplem> | ||||
| inline const JsonArraySubscript JsonVariantBase<TImplem>::operator[]( | ||||
|     int index) const { | ||||
|   return asArray()[index]; | ||||
| } | ||||
|  | ||||
| }  // namespace ArduinoJson | ||||
|  | ||||
| #ifdef _MSC_VER | ||||
|   | ||||
		Reference in New Issue
	
	Block a user