mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			345 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			345 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /*
 | |
|  * Arduino JSON library
 | |
|  * Benoit Blanchon 2014 - MIT License
 | |
|  */
 | |
| 
 | |
| #pragma once
 | |
| 
 | |
| #include "JsonValue.h"
 | |
| 
 | |
| class JsonObjectBase
 | |
| {
 | |
| public:
 | |
| 
 | |
|     void writeTo(char* buffer, size_t bufferSize)
 | |
|     {
 | |
|         StringBuilder sb(buffer, bufferSize);
 | |
|         writeTo(sb);
 | |
|     }
 | |
| 
 | |
|     virtual void writeTo(StringBuilder& sb) = 0;
 | |
| };
 | |
| 
 |