mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			25 lines
		
	
	
		
			299 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			299 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /*
 | |
|  * Arduino JSON library
 | |
|  * Benoit Blanchon 2014 - MIT License
 | |
|  */
 | |
| 
 | |
| #pragma once
 | |
| 
 | |
| #include "Print.h"
 | |
| 
 | |
| class EscapedString
 | |
| {
 | |
| public:
 | |
| 
 | |
|     void set(const char* s)    
 | |
|     {
 | |
|         rawString = s;
 | |
|     }
 | |
| 
 | |
|     size_t printTo(Print&) const;
 | |
| 
 | |
| private:
 | |
|     const char* rawString;
 | |
| };
 | |
| 
 |