mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	Import functions in the ArduinoJson namespace to get clearer errors
This commit is contained in:
		| @@ -1,6 +1,11 @@ | |||||||
| ArduinoJson: change log | ArduinoJson: change log | ||||||
| ======================= | ======================= | ||||||
|  |  | ||||||
|  | HEAD | ||||||
|  | ---- | ||||||
|  |  | ||||||
|  | * Import functions in the ArduinoJson namespace to get clearer errors | ||||||
|  |  | ||||||
| v6.7.0-beta (2018-12-07) | v6.7.0-beta (2018-12-07) | ||||||
| ----------- | ----------- | ||||||
|  |  | ||||||
|   | |||||||
| @@ -28,19 +28,24 @@ | |||||||
| #include "ArduinoJson/MsgPack/MsgPackSerializer.hpp" | #include "ArduinoJson/MsgPack/MsgPackSerializer.hpp" | ||||||
|  |  | ||||||
| namespace ArduinoJson { | namespace ArduinoJson { | ||||||
| typedef ARDUINOJSON_NAMESPACE::ArrayRef JsonArray; |  | ||||||
| typedef ARDUINOJSON_NAMESPACE::ArrayConstRef JsonArrayConst; | typedef ARDUINOJSON_NAMESPACE::ArrayConstRef JsonArrayConst; | ||||||
|  | typedef ARDUINOJSON_NAMESPACE::ArrayRef JsonArray; | ||||||
| typedef ARDUINOJSON_NAMESPACE::Float JsonFloat; | typedef ARDUINOJSON_NAMESPACE::Float JsonFloat; | ||||||
| typedef ARDUINOJSON_NAMESPACE::Integer JsonInteger; | typedef ARDUINOJSON_NAMESPACE::Integer JsonInteger; | ||||||
| typedef ARDUINOJSON_NAMESPACE::ObjectRef JsonObject; |  | ||||||
| typedef ARDUINOJSON_NAMESPACE::ObjectConstRef JsonObjectConst; | typedef ARDUINOJSON_NAMESPACE::ObjectConstRef JsonObjectConst; | ||||||
|  | typedef ARDUINOJSON_NAMESPACE::ObjectRef JsonObject; | ||||||
| typedef ARDUINOJSON_NAMESPACE::Pair JsonPair; | typedef ARDUINOJSON_NAMESPACE::Pair JsonPair; | ||||||
| typedef ARDUINOJSON_NAMESPACE::UInt JsonUInt; |  | ||||||
| typedef ARDUINOJSON_NAMESPACE::VariantRef JsonVariant; |  | ||||||
| typedef ARDUINOJSON_NAMESPACE::VariantConstRef JsonVariantConst; |  | ||||||
| typedef ARDUINOJSON_NAMESPACE::String JsonString; | typedef ARDUINOJSON_NAMESPACE::String JsonString; | ||||||
|  | typedef ARDUINOJSON_NAMESPACE::UInt JsonUInt; | ||||||
|  | typedef ARDUINOJSON_NAMESPACE::VariantConstRef JsonVariantConst; | ||||||
|  | typedef ARDUINOJSON_NAMESPACE::VariantRef JsonVariant; | ||||||
| using ARDUINOJSON_NAMESPACE::DeserializationError; | using ARDUINOJSON_NAMESPACE::DeserializationError; | ||||||
|  | using ARDUINOJSON_NAMESPACE::deserializeJson; | ||||||
|  | using ARDUINOJSON_NAMESPACE::deserializeMsgPack; | ||||||
| using ARDUINOJSON_NAMESPACE::DynamicJsonDocument; | using ARDUINOJSON_NAMESPACE::DynamicJsonDocument; | ||||||
| using ARDUINOJSON_NAMESPACE::serialized; | using ARDUINOJSON_NAMESPACE::serialized; | ||||||
|  | using ARDUINOJSON_NAMESPACE::serializeJson; | ||||||
|  | using ARDUINOJSON_NAMESPACE::serializeJsonPretty; | ||||||
|  | using ARDUINOJSON_NAMESPACE::serializeMsgPack; | ||||||
| using ARDUINOJSON_NAMESPACE::StaticJsonDocument; | using ARDUINOJSON_NAMESPACE::StaticJsonDocument; | ||||||
| }  // namespace ArduinoJson | }  // namespace ArduinoJson | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user