mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-11-01 08:48:30 +01:00 
			
		
		
		
	Fixed result of JsonVariant::set((char*)0) (fixes #1368)
				
					
				
			This commit is contained in:
		| @@ -347,8 +347,7 @@ class JsonDeserializer { | ||||
|     if (!parseQuotedString()) | ||||
|       return false; | ||||
|     const char *value = _stringStorage.save(); | ||||
|     variant.setString(make_not_null(value), | ||||
|                       typename TStringStorage::storage_policy()); | ||||
|     variant.setStringPointer(value, typename TStringStorage::storage_policy()); | ||||
|     return true; | ||||
|   } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user