Changed String to be a typedef of std::string (issues #142 and #161)

This commit is contained in:
Benoit Blanchon
2015-11-25 21:09:18 +01:00
parent 8b66a25f66
commit 056682327b
5 changed files with 12 additions and 55 deletions

View File

@@ -5,6 +5,11 @@ HEAD
----
* Made library easier to use from a CMake project: simply add_subdirectory(ArduinoJson/src)
* Changed `String` to be a `typedef` of `std::string` (issues #142 and #161)
**BREAKING CHANGES**:
- `JsonVariant(true).as<String>()` now returns `"true"` instead of `"1"`
- `JsonVariant(false).as<String>()` now returns `"false"` instead of `"0"`
v5.0.6
------