mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
		
			460 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			460 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| // Copyright Benoit Blanchon 2014-2017
 | |
| // MIT License
 | |
| //
 | |
| // Arduino JSON library
 | |
| // https://bblanchon.github.io/ArduinoJson/
 | |
| // If you like this project, please add a star!
 | |
| 
 | |
| #pragma once
 | |
| 
 | |
| namespace ArduinoJson {
 | |
| 
 | |
| // A special type of data that can be used to insert pregenerated JSON portions.
 | |
| class RawJson {
 | |
|  public:
 | |
|   explicit RawJson(const char* str) : _str(str) {}
 | |
|   operator const char*() const {
 | |
|     return _str;
 | |
|   }
 | |
| 
 | |
|  private:
 | |
|   const char* _str;
 | |
| };
 | |
| }
 |