change code

Fork of MbedJSONValue_copy by Lawrence Lee

Revision:
9:c917476c802b
Parent:
8:fb820325a830
--- a/MbedJSONValue.cpp	Tue May 31 10:30:22 2016 +0000
+++ b/MbedJSONValue.cpp	Fri Jul 29 08:14:15 2016 +0000
@@ -146,6 +146,7 @@
 #endif                
                 serialize_str(*(token_name[i]), oi);
                 *oi++ = ':';
+                if(!token[i]->accessible) token[i]->cb_action(token[i]);
                 (*(token[i])).serialize(oi);
             }
             *oi++ = '}';