mirror of
				https://github.com/bblanchon/ArduinoJson.git
				synced 2025-11-04 08:31:36 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			26 lines
		
	
	
		
			473 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			473 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#pragma once
 | 
						|
 | 
						|
#include "JsonContainer.h"
 | 
						|
 | 
						|
class JsonObject : public JsonContainer
 | 
						|
{
 | 
						|
public:
 | 
						|
 | 
						|
    JsonObject()
 | 
						|
    {
 | 
						|
    }
 | 
						|
 | 
						|
    explicit JsonObject(JsonNode* node)
 | 
						|
        : JsonContainer(node)
 | 
						|
    {
 | 
						|
    }
 | 
						|
 | 
						|
    JsonValue operator[](const char* key);
 | 
						|
    void remove(const char* key);
 | 
						|
 | 
						|
    JsonArray createNestedArray(const char* key);
 | 
						|
    JsonObject createNestedObject(const char* key);
 | 
						|
 | 
						|
private:
 | 
						|
    JsonNode* getOrCreateNodeAt(const char* key);
 | 
						|
}; |