mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	Support JsonDocument*
This commit is contained in:
		| @@ -303,4 +303,9 @@ inline bool canConvertFromJson(VariantConstRef src, const std::string_view&) { | ||||
|  | ||||
| #endif | ||||
|  | ||||
| inline void convertToJson(JsonDocument* src, VariantRef dst) { | ||||
|   VariantData* data = getData(dst); | ||||
|   data->setPointer(getData(src->as<VariantRef>())); | ||||
| } | ||||
|  | ||||
| }  // namespace ARDUINOJSON_NAMESPACE | ||||
|   | ||||
		Reference in New Issue
	
	Block a user