mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	Added support for custom converters (closes #687)
This commit is contained in:
		| @@ -76,7 +76,8 @@ class ArrayCopier1D : public Visitor<size_t> { | ||||
|     VariantSlot* slot = array.head(); | ||||
|  | ||||
|     while (slot != 0 && size < _capacity) { | ||||
|       _destination[size++] = variantAs<T>(slot->data()); | ||||
|       _destination[size++] = | ||||
|           Converter<T>::fromJson(VariantConstRef(slot->data())); | ||||
|       slot = slot->next(); | ||||
|     } | ||||
|     return size; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user