mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	Made keys case sensitive
This commit is contained in:
		| @@ -50,8 +50,8 @@ public: | |||||||
| 			// Get key token string | 			// Get key token string | ||||||
| 			char* key = buffer + tokens[i].start; | 			char* key = buffer + tokens[i].start; | ||||||
|  |  | ||||||
| 			// Compare with desired name, ignoring case | 			// Compare with desired name | ||||||
| 			if (strcasecmp(name, key) == 0) | 			if (strcmp(name, key) == 0) | ||||||
| 			{ | 			{ | ||||||
| 				return buffer + tokens[i + 1].start; | 				return buffer + tokens[i + 1].start; | ||||||
| 			} | 			} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user