123
Revision 5:93f9fd1ed417, committed 2018-11-30
- Comitter:
- m_ahsan
- Date:
- Fri Nov 30 09:48:15 2018 +0000
- Parent:
- 4:10a99cdf7846
- Commit message:
- 001
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:57:37 2011 +0000
+++ b/MbedJSONValue.h Fri Nov 30 09:48:15 2018 +0000
@@ -435,7 +435,7 @@
inline bool _parse_string(MbedJSONValue& out, input& in) {
#ifdef DEBUG
- printf("string detected\r\n");
+ //printf("string detected\r\n");
#endif
out = MbedJSONValue(std::string(""));
std::string& s = out.get<std::string>();
@@ -472,7 +472,7 @@
inline bool _parse_array(MbedJSONValue& out, input& in) {
#ifdef DEBUG
- printf("array detected\r\n");
+ //printf("array detected\r\n");
#endif
int i = 0;
if (in.expect(']')) {
@@ -489,7 +489,7 @@
inline bool _parse_object(MbedJSONValue& out, input& in) {
#ifdef DEBUG
- printf("object detected\r\n");
+ //printf("object detected\r\n");
#endif
if (in.expect('}')) {
return true;
@@ -499,7 +499,7 @@
if (in.expect('"') && _parse_string(key, in) && in.expect(':') && _parse(val, in)) {
out[key.get<std::string>().c_str()] = val;
#ifdef DEBUG
- printf("key: %s \r\n", key.get<std::string>().c_str());
+ //printf("key: %s \r\n", key.get<std::string>().c_str());
#endif
} else {
return false;
@@ -510,7 +510,7 @@
inline bool _parse_number(MbedJSONValue& out, input& in) {
#ifdef DEBUG
- printf("number detected\r\n");
+ //printf("number detected\r\n");
#endif
std::string num_str;
while (1) {