mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	Renamed function RawJson() to serialized()
				
					
				
			This commit is contained in:
		
							
								
								
									
										18
									
								
								CHANGELOG.md
									
									
									
									
									
								
							
							
						
						
									
										18
									
								
								CHANGELOG.md
									
									
									
									
									
								
							| @@ -6,11 +6,29 @@ HEAD | ||||
|  | ||||
| * Disabled lazy number deserialization (issue #772) | ||||
| * Improved float serialization when `-fsingle-precision-constant` is used | ||||
| * Renamed function `RawJson()` to `serialized()` | ||||
| * `serializeMsgPack()` now supports values marked with `serialized()` | ||||
|  | ||||
| > ### BREAKING CHANGES | ||||
| > | ||||
| > #### Non quoted strings | ||||
| > | ||||
| > Non quoted strings are now forbidden in values, but they are still allowed in keys. | ||||
| > For example, `{key:"value"}` is accepted, but `{key:value}` is not. | ||||
| > | ||||
| > #### Preformatted values | ||||
| > | ||||
| > Old code: | ||||
| > | ||||
| > ```c++ | ||||
| > object["values"] = RawJson("[1,2,3,4]"); | ||||
| > ``` | ||||
| >  | ||||
| > New code: | ||||
| >  | ||||
| > ```c++ | ||||
| > object["values"] = serialized("[1,2,3,4]"); | ||||
| > ``` | ||||
|  | ||||
| v6.1.0-beta | ||||
| ----------- | ||||
|   | ||||
		Reference in New Issue
	
	Block a user