mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	Added comments
This commit is contained in:
		| @@ -12,26 +12,31 @@ namespace ArduinoJson | ||||
| { | ||||
|     namespace Parser | ||||
|     { | ||||
|         // An iterator for JsonArray. | ||||
|         class JsonArrayIterator : JsonToken | ||||
|         { | ||||
|         public: | ||||
|  | ||||
|             // Create an iterator pointing at the specified JsonToken. | ||||
|             JsonArrayIterator(JsonToken token) | ||||
|                 : JsonToken(token) | ||||
|             { | ||||
|  | ||||
|             } | ||||
|  | ||||
|             // Move iterator forward. | ||||
|             void operator++() | ||||
|             { | ||||
|                 *this = JsonArrayIterator(nextSibling()); | ||||
|             } | ||||
|  | ||||
|             // Get the value pointed by the iterator. | ||||
|             JsonValue operator*() const | ||||
|             { | ||||
|                 return JsonValue(*this); | ||||
|             } | ||||
|  | ||||
|             // Test iterator equality. | ||||
|             bool operator!= (const JsonArrayIterator& other) const | ||||
|             { | ||||
|                 return JsonToken::operator!=(other); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user