Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
docs: Use "JSON object" instead of "JSON dictionary" throughout.
Agnish Bauri436d29553a11
diff --git a/docs/webhooks/incoming-webhooks-walkthrough.md b/docs/webhooks/incoming-webhooks-walkthrough.mdindex 0327404f9aa..570d0d23b9a 100644--- a/docs/webhooks/incoming-webhooks-walkthrough.md+++ b/docs/webhooks/incoming-webhooks-walkthrough.md@@ -313,7 +313,7 @@ example:--custom-headers='{"X-Custom-Header": "value"}'-The format is a JSON dictionary, so make sure that the header names do+The format is a JSON object, so make sure that the header names donot contain any spaces in them and that you use the precise quotingapproach shown above.@@ -336,7 +336,7 @@ By having Zulip open in one browser tab and this tool in another, you canquickly tweak your webhook code and send sample messages for differenttest fixtures.-Custom HTTP headers must be entered as a JSON dictionary, if you want to+Custom HTTP headers must be entered as a JSON object, if you want touse any. Feel free to use 4-spaces as tabs for indentation if you'd like.### Testing with the third-party servicediff --git a/starlight_help/src/content/docs/outgoing-webhooks.mdx b/starlight_help/src/content/docs/outgoing-webhooks.mdxindex 422af1b1f36..df3ac5d9531 100644--- a/starlight_help/src/content/docs/outgoing-webhooks.mdx+++ b/starlight_help/src/content/docs/outgoing-webhooks.mdx@@ -66,7 +66,7 @@ of two possible formats, described below.### Example response payloadsIf the bot code wants to opt out of responding, it can explicitly-encode a JSON dictionary that contains `response_not_required` set+encode a JSON object that contains `response_not_required` setto `True`, so that no response message is sent to the user. (Thisis helpful to distinguish deliberate non-responses from bugs.)diff --git a/zerver/management/commands/send_webhook_fixture_message.py b/zerver/management/commands/send_webhook_fixture_message.pyindex de4a7094253..dba4655d77c 100644--- a/zerver/management/commands/send_webhook_fixture_message.py+++ b/zerver/management/commands/send_webhook_fixture_message.py@@ -26,7 +26,7 @@ command line option.Example:--custom-headers='{"X-Custom-Header": "value"}'-The format is a JSON dictionary, so make sure that the header names do+The format is a JSON object, so make sure that the header names donot contain any spaces in them and that you use the precise quotingapproach shown above."""diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yamlindex 2dc6999d49d..e8c5947f715 100644--- a/zerver/openapi/zulip.yaml+++ b/zerver/openapi/zulip.yaml@@ -28267,7 +28267,7 @@ components:Field types 3 (Dropdown) and 7 (External account) support storingadditional configuration for the field type in the `field_data` attribute.- For field type 3 (Dropdown), this attribute is a JSON dictionary+ For field type 3 (Dropdown), this attribute is a JSON objectdefining the choices and the order they will be displayed in thedropdown UI for individual users to select an option.@@ -28338,7 +28338,7 @@ components:Field types 3 (Dropdown) and 7 (External account) support storingadditional configuration for the field type in the `field_data` attribute.- For field type 3 (Dropdown), this attribute is a JSON dictionary+ For field type 3 (Dropdown), this attribute is a JSON objectdefining the choices and the order they will be displayed in thedropdown UI for individual users to select an option.