mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-11-01 08:48:30 +01:00 
			
		
		
		
	Fixed assignment of JsonDocument to JsonVariant (issue #1023)
				
					
				
			This commit is contained in:
		| @@ -278,6 +278,10 @@ class JsonDocument : public Visitable { | ||||
|     _data.remove(adaptString(key)); | ||||
|   } | ||||
|  | ||||
|   FORCE_INLINE operator VariantConstRef() const { | ||||
|     return VariantConstRef(&_data); | ||||
|   } | ||||
|  | ||||
|  protected: | ||||
|   JsonDocument(MemoryPool pool) : _pool(pool) { | ||||
|     _data.setNull(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user