mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	Updated README
This commit is contained in:
		
							
								
								
									
										10
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								README.md
									
									
									
									
									
								
							| @@ -117,10 +117,8 @@ DynamicJsonDocument doc(1024); | |||||||
|  |  | ||||||
| doc["sensor"] = "gps"; | doc["sensor"] = "gps"; | ||||||
| doc["time"]   = 1351824120; | doc["time"]   = 1351824120; | ||||||
|  | doc["data"][0] = 48.756080; | ||||||
| JsonArray data = doc.createNestedArray("data"); | doc["data"][1] = 2.302038; | ||||||
| data.add(48.756080); |  | ||||||
| data.add(2.302038); |  | ||||||
|  |  | ||||||
| serializeJson(doc, Serial); | serializeJson(doc, Serial); | ||||||
| // This prints: | // This prints: | ||||||
| @@ -133,5 +131,5 @@ See the [tutorial on arduinojson.org](https://arduinojson.org/doc/encoding/?utm_ | |||||||
|  |  | ||||||
| Do you like this library? Please [star this project on GitHub](https://github.com/bblanchon/ArduinoJson/stargazers)! | Do you like this library? Please [star this project on GitHub](https://github.com/bblanchon/ArduinoJson/stargazers)! | ||||||
|  |  | ||||||
| What? You don't like it but you *love* it? | What? You don't like it but you *love* it?   | ||||||
| We don't take donations anymore, but [we sell a book](https://arduinojson.org/book/?utm_source=github&utm_medium=readme), so you can help and learn at the same time?utm_source=github&utm_medium=readme! | We don't take donations anymore, but [we sell a book](https://arduinojson.org/book/?utm_source=github&utm_medium=readme), so you can help and learn at the same time. | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user