0123
Diff: MbedJSONValue.h
- Revision:
- 1:effaca3e3f84
- Parent:
- 0:0cf0e27feaad
- Child:
- 2:e39bfa3e917d
diff -r 0cf0e27feaad -r effaca3e3f84 MbedJSONValue.h --- 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 */