doc/STYLE.md: be clear we're talking about JSON output.

Suggested-by: @ZmnSCPxj
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2020-07-15 15:12:38 +09:30
parent 371cabf976
commit 406d0d09cf

View File

@ -198,8 +198,8 @@ for programs to deal with them sanely, and also perform translations.
All JSON API changes need a Changelog line (see below).
You can always add a new JSON field (Changelog-Added), but you cannot
remove one without going through a 6-month deprecation cycle
You can always add a new output JSON field (Changelog-Added), but you
cannot remove one without going through a 6-month deprecation cycle
(Changelog-Deprecated)
So, only output it if `deprecated-apis` is true, so users can test