mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	Fixed JsonVariant::is<String>() (closes #763)
				
					
				
			This commit is contained in:
		| @@ -58,6 +58,7 @@ void checkIsInteger(JsonVariant var) { | ||||
|  | ||||
| void checkIsString(JsonVariant var) { | ||||
|   REQUIRE(var.is<const char*>()); | ||||
|   REQUIRE(var.is<std::string>()); | ||||
|  | ||||
|   REQUIRE_FALSE(var.is<bool>()); | ||||
|   REQUIRE_FALSE(var.is<int>()); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user