mirror of
				https://github.com/bblanchon/ArduinoJson.git
				synced 2025-11-04 08:31:36 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			29 lines
		
	
	
		
			447 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			447 B
		
	
	
	
		
			C++
		
	
	
	
	
	
/*
 | 
						|
 * Arduino JSON library
 | 
						|
 * Benoit Blanchon 2014 - MIT License
 | 
						|
 */
 | 
						|
 | 
						|
#pragma once
 | 
						|
 | 
						|
#include "Print.h"
 | 
						|
 | 
						|
namespace ArduinoJson
 | 
						|
{
 | 
						|
    namespace Internals
 | 
						|
    {
 | 
						|
        class EscapedString
 | 
						|
        {
 | 
						|
        public:
 | 
						|
 | 
						|
            void set(const char* s)
 | 
						|
            {
 | 
						|
                rawString = s;
 | 
						|
            }
 | 
						|
 | 
						|
            size_t printTo(Print&) const;
 | 
						|
 | 
						|
        private:
 | 
						|
            const char* rawString;
 | 
						|
        };
 | 
						|
    }
 | 
						|
} |