[riot-notifications] [RIOT-OS/RIOT] Adopt PR #2189: a JSON en/decoder (#8312)

Sebastian Meiling notifications at github.com
Wed Jan 9 16:58:05 CET 2019


smlng commented on this pull request.



> +            _WRITE_STR("\":");
+            break;
+
+        case JSON_WRITE_STATE_IN_OBJECT:
+        case JSON_WRITE_STATE_IN_STRING:
+        case JSON_WRITE_STATE_DONE:
+        default:
+            return JSON_INVALID_DATA;
+    }
+
+    cookie->state = JSON_WRITE_STATE_SOMEWHERE;
+
+    va_list ap;
+    va_start(ap, format);
+    char buffer[size];
+    int len = vsnprintf(buffer, sizeof(buffer), format, ap);

not right now, but will look into it soonish

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/8312#discussion_r246437448
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190109/57409f9b/attachment-0001.html>


More information about the notifications mailing list