diff options
| author | 2021-02-25 17:17:00 +0100 | |
|---|---|---|
| committer | 2021-02-25 17:17:00 +0100 | |
| commit | ad2bc5d2d1d94ac3ef60d9b60e6f716be5827bf2 (patch) | |
| tree | 92e512b8b162cb71e6d6bbcb0c31194402e26262 | |
| parent | Hyperlink URL (diff) | |
Apply suggestions from code review
Co-authored-by: Mark <[email protected]>
| -rw-r--r-- | bot/resources/tags/empty-json.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/resources/tags/empty-json.md b/bot/resources/tags/empty-json.md index 93e2cadba..935544bb7 100644 --- a/bot/resources/tags/empty-json.md +++ b/bot/resources/tags/empty-json.md @@ -4,8 +4,8 @@ JSONDecodeError: Expecting value: line 1 column 1 (char 0) ``` This error could have appeared because you just created the JSON file and there is nothing in it at the moment. -Whilst having the data empty is no problem, the file itself may never be completely empty. +Whilst having empty data is no problem, the file itself may never be completely empty. -You most likely wanted to structure your JSON as a dictionary. To do this, change your JSON to read `{}`. +You most likely wanted to structure your JSON as a dictionary. To do this, edit your empty JSON file so that it instead contains `{}`. Different data types are also supported. If you wish to read more on these, please refer to [this article](https://www.tutorialspoint.com/json/json_data_types.htm). |