mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-11-01 08:48:30 +01:00 
			
		
		
		
	Replaced printTo() with serializeJson()
				
					
				
			* Added `serializeJson()` and `serializeJsonPretty()` * Added `measureJson()` and `measureJsonPretty()` * Removed `printTo()` and `prettyPrintTo()` * Removed `measureLength()` and `measurePrettyLength()`
This commit is contained in:
		| @@ -94,16 +94,8 @@ class JsonObjectSubscript | ||||
|   JsonObject& _object; | ||||
|   TStringRef _key; | ||||
| }; | ||||
|  | ||||
| #if ARDUINOJSON_ENABLE_STD_STREAM | ||||
| template <typename TStringRef> | ||||
| inline std::ostream& operator<<(std::ostream& os, | ||||
|                                 const JsonObjectSubscript<TStringRef>& source) { | ||||
|   return source.printTo(os); | ||||
| } | ||||
| #endif | ||||
| } | ||||
| } | ||||
| }  // namespace Internals | ||||
| }  // namespace ArduinoJson | ||||
|  | ||||
| #ifdef _MSC_VER | ||||
| #pragma warning(pop) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user