Revision 2016.05.03
Fork of MbedJSONValue by
Revision 1:effaca3e3f84, committed 2011-09-22
- Comitter:
- samux
- Date:
- Thu Sep 22 10:40:57 2011 +0000
- Parent:
- 0:0cf0e27feaad
- Child:
- 2:e39bfa3e917d
- Commit message:
Changed in this revision
MbedJSONValue.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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 */