Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: MbedJSONValue.h
- Revision:
- 1:effaca3e3f84
- Parent:
- 0:0cf0e27feaad
- Child:
- 2:e39bfa3e917d
--- a/MbedJSONValue.h Thu Sep 22 10:35:59 2011 +0000 +++ b/MbedJSONValue.h Thu Sep 22 10:40:57 2011 +0000 @@ -77,9 +77,9 @@ * int my_int; * bool my_bool; * - * my_str = demo["my_array"][0]; - * my_int = demo["my_array"][1]; - * my_bool = demo["my_boolean"]; + * my_str = demo["my_array"][0].get<std::string>(); + * my_int = demo["my_array"][1].get<int>(); + * my_bool = demo["my_boolean"].get<bool>(); * * @endcode */