mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-11-01 08:48:30 +01:00 
			
		
		
		
	Added JsonDocument::size()
				
					
				
			This commit is contained in:
		| @@ -57,6 +57,10 @@ class JsonDocument : public Visitable { | ||||
|     return _pool.capacity(); | ||||
|   } | ||||
|  | ||||
|   size_t size() const { | ||||
|     return _data.size(); | ||||
|   } | ||||
|  | ||||
|   bool set(const JsonDocument& src) { | ||||
|     return to<VariantRef>().set(src.as<VariantRef>()); | ||||
|   } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user