mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-11-01 08:48:30 +01:00 
			
		
		
		
	Added ARDUINOJSON_ENABLE_COMMENTS to enable support for comments
This commit is contained in:
		| @@ -357,6 +357,7 @@ class JsonDeserializer { | ||||
|           move(); | ||||
|           continue; | ||||
|  | ||||
| #if ARDUINOJSON_ENABLE_COMMENTS | ||||
|         // comments | ||||
|         case '/': | ||||
|           move();  // skip '/' | ||||
| @@ -394,6 +395,7 @@ class JsonDeserializer { | ||||
|               return DeserializationError::InvalidInput; | ||||
|           } | ||||
|           break; | ||||
| #endif | ||||
|  | ||||
|         default: | ||||
|           return DeserializationError::Ok; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user