From 47563324c3a7bfb02c386ba4b666e24cc47150df Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Mon, 6 Jul 2020 12:07:33 -0400 Subject: [PATCH] doc: specify output for json commands w/ no output JSON commands should always return valid JSON Signed-off-by: Quentin Young --- doc/developer/workflow.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/developer/workflow.rst b/doc/developer/workflow.rst index eaf6c67bc9..ef25982077 100644 --- a/doc/developer/workflow.rst +++ b/doc/developer/workflow.rst @@ -1034,7 +1034,9 @@ the development mailing list / public Slack instance. JSON Output ^^^^^^^^^^^ -All JSON keys are to be camelCased, with no spaces. +* All JSON keys are to be camelCased, with no spaces +* Commands which output JSON should produce ``{}`` if they have nothing to + display Use of const ^^^^^^^^^^^^ -- 2.39.5